CursorLockState


Declaration

public sealed class CursorLockState : MonoBehaviour

Description

Sets the lock state of the cursor when the behavior is enabled and disabled.

Properties

lockStateOnEnableThe visibility of the cursor when the script is enabled.
lockStateOnDisableThe visibility of the cursor when the script is disabled.