Skip to content

InputSystemControl

interludesoftware.tick

Interlude.Tick

InputSystemControl Struct

A single Input System control a navigation action can bind to: either a keyboard UnityEngine.InputSystem.Key or a UnityEngine.InputSystem.LowLevel.GamepadButton (which includes the D-pad). Implicit conversions let bindings read naturally, e.g. { Key.UpArrow, GamepadButton.DpadUp }.

public struct InputSystemControl

Methods

InputSystemControl.WasPressedThisFrame() Method

True when the bound key or button was pressed this frame.

public bool WasPressedThisFrame();

Returns

System.Boolean