Enum InputSettings.BackgroundBehavior
Determines how the applications behaves when running in the background. See background
Namespace: UnityEngine .InputSystem
Assembly: Unity.InputSystem.dll
Syntax
public enum InputSettings.BackgroundBehavior
Fields
Name | Description |
---|---|
IgnoreFocus | Ignore all changes in focus and leave devices untouched. This also disables focus checks in Input |
ResetAndDisableAllDevices | Like Reset |
ResetAndDisableNonBackgroundDevices | When the application loses focus, issue a Reset In effect, this setting will "soft-reset" all devices that cannot receive input while the application does
not have focus. That is, it will reset all controls that are not marked as dont When the application comes back into focus, all devices that have been reset and disabled will be re-enabled and a synchronization
request (see Request Devices that are added while the application is running in the background are treated like devices that were already present when losing focus. That is, if they cannot run in the background, they will be disabled until focus comes back. Note that the resets will cancel Input |