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 readonly InputAction action { get; }
Property Value
Declaration
public readonly InputControl control { get; }
Property Value
Declaration
public readonly double duration { get; }
Property Value
Declaration
public readonly IInputInteraction interaction { get; }
Property Value
Declaration
public readonly InputActionPhase phase { get; }
Property Value
Declaration
public readonly double startTime { get; }
Property Value
Declaration
public readonly double time { get; }
Property Value
Declaration
public readonly 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