Class LockHandler
Processes the currently active Locks to determine what should be locked/unlocked.
public static class LockHandler
- Inheritance
-
LockHandler
- Inherited Members
Properties
isCursorFree
Whether the lock handler is currently freeing the cursor.
public static bool isCursorFree { get; }
Property Value
isNavigationLocked
Whether the lock handler is currently locking navigation inputs.
public static bool isNavigationLocked { get; }
Property Value
isPaused
Whether the lock handler is currently pausing the game.
public static bool isPaused { get; }
Property Value
onCursorFree
Invokes listeners when the lock handler frees the cursor, allowing the user to move it around.
public static UnityEvent onCursorFree { get; }
Property Value
- UnityEvent
onCursorLock
Invokes listeners when the lock handler is no longer freeing the cursor.
public static UnityEvent onCursorLock { get; }
Property Value
- UnityEvent
onNavigationLock
Invokes listeners when the lock handler is locking navigation inputs.
public static UnityEvent onNavigationLock { get; }
Property Value
- UnityEvent
onNavigationUnlock
Invokes listeners when the lock handler is no longer locking navigation inputs.
public static UnityEvent onNavigationUnlock { get; }
Property Value
- UnityEvent
onPause
Invokes listeners when the lock handler pauses the game.
public static UnityEvent onPause { get; }
Property Value
- UnityEvent
onUnpause
Invokes listeners when the lock handler unpauses the game.
public static UnityEvent onUnpause { get; }
Property Value
- UnityEvent