Enum InputSettings.EditorInputBehaviorInPlayMode
Determines how player focus is handled with respect to input when we are in play mode in the editor.
See editor
Namespace: UnityEngine .InputSystem
Assembly: Unity.InputSystem.dll
Syntax
public enum InputSettings.EditorInputBehaviorInPlayMode
Fields
Name | Description |
---|---|
AllDeviceInputAlwaysGoesToGameView | All input is going to the game at all times. This most closely aligns input behavior in the editor with that in players. background |
AllDevicesRespectGameViewFocus | When the game view does not have focus, all input is routed to the editor (and thus |
PointersAndKeyboardsRespectGameViewFocus | When the game view does not have focus, input from Pointer devices (such as Mouse and Touchscreen)
is routed to the editor and not visible in player code. Input from devices such as Gamepads will continue to
go to the game regardless of which This is the default. It makes sure that the devices that are used with the editor UI respect |