Enum KeyCodeTrigger.TriggerMode
Determines when the key trigger should be active. Values are flags and can be combined.
[Flags]
public enum KeyCodeTrigger.TriggerMode
Fields
| Name | Type | Description |
|---|---|---|
EditorAndPlayer = -1 | Active both in the Unity Editor and in builds/runtime. | |
EditorOnly = 1 | Only active in the Unity Editor (not in builds). | |
Off = 0 | The trigger is completely disabled. | |
PlayerOnly = 2 | Only active in builds/runtime (not in the Unity Editor). |