Loading...
Searching...
No Matches
AdventureCore.FocusHelper Class Reference

Detailed Description

provides focus and cursor lock handling, disables mouse when the game view is not active in the editor

https://adventure.softleitner.com/manual/utilities

Inheritance diagram for AdventureCore.FocusHelper:

Public Member Functions

virtual void SuspendCursorLock ()
 
virtual void ResumeCursorLock ()
 

Public Attributes

bool IsMenu
 
bool LockCursor = true
 
UnityEvent< bool > FocusChanged
 

Properties

static bool IsFocused [get]
 

Events

static Action< bool > IsFocusChanged