A wrapper around UnityEngine.InputSystem.LowLevel.ActionEvent that automatically translates all the
information in events into their high-level representations.
public struct ActionEventPtr
Properties
Declaration
public InputAction action { get; }
Property Value
Declaration
public InputControl control { get; }
Property Value
Declaration
public double duration { get; }
Property Value
Declaration
public IInputInteraction interaction { get; }
Property Value
Declaration
public InputActionPhase phase { get; }
Property Value
Declaration
public double startTime { get; }
Property Value
Declaration
public double time { get; }
Property Value
Declaration
public int valueSizeInBytes { get; }
Property Value
Methods
Declaration
public void ReadValue(void *buffer, int bufferSize)
Parameters
Type |
Name |
Description |
Void* |
buffer |
|
Int32 |
bufferSize |
|
Declaration
public TValue ReadValue<TValue>()
where TValue : struct
Returns
Type Parameters
Declaration
public object ReadValueAsObject()
Returns
Declaration
public override string ToString()
Returns