InputAction.CallbackContext
struct in UnityEngine.InputSystem · Unity.InputSystem
16 of 16 of Unity's members
In Tassix
What a callback receives: the action, its phase, the control and value at that moment.
Properties 12
InputAction action { get; }bool canceled { get; }InputControl control { get; }double duration { get; }IInputInteraction? interaction { get; }bool performed { get; }InputActionPhase phase { get; }double startTime { get; }bool started { get; }double time { get; }int valueSizeInBytes { get; }Type valueType { get; }Methods 4
TValue ReadValue<TValue>()bool ReadValueAsButton()object? ReadValueAsObject()string ToString()