Enum InputSettings.UpdateMode
How the input system should update.
Namespace: UnityEngine.InputSystem
Syntax
public enum UpdateMode
Remarks
By default, the input system will run event processing as part of the player loop. In the default configuration,
the processing will happens once before every every dynamic update (
There are two types of updates not governed by UpdateMode. One is Editor which will always be enabled in the editor and govern input updates for EditorWindows in sync to update.
The other update type is BeforeRender. This type of update is enabled and disabled automatically in response to whether devices are present requiring this type of update (updateBeforeRender). This update does not consume extra state.
Fields
Name | Description | Value |
---|---|---|
ProcessEventsInDynamicUpdate | Automatically run input updates right before every |
1 |
ProcessEventsInFixedUpdate | Automatically input run updates right before every |
2 |
ProcessEventsManually | Do not run updates automatically. In this mode, Update() must be called manually to update input. |
3 |