Struct InputInteractionContext
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
Syntax
public struct InputInteractionContext
Properties
action
The action associated with the binding.
Declaration
public InputAction action { get; }
Property Value
control
The bound control that changed its state to trigger the binding associated
with the interaction.
Declaration
public InputControl control { get; }
Property Value
controlHasDefaultValue
Declaration
public bool controlHasDefaultValue { get; }
Property Value
Type |
Description |
System.Boolean |
|
isStarted
Declaration
public bool isStarted { get; }
Property Value
Type |
Description |
System.Boolean |
|
isWaiting
Declaration
public bool isWaiting { get; }
Property Value
Type |
Description |
System.Boolean |
|
phase
Declaration
public InputActionPhase phase { get; }
Property Value
startTime
Declaration
public double startTime { get; }
Property Value
Type |
Description |
System.Double |
|
time
Declaration
public double time { get; }
Property Value
Type |
Description |
System.Double |
|
timerHasExpired
Declaration
public bool timerHasExpired { get; }
Property Value
Type |
Description |
System.Boolean |
|
Methods
Cancelled()
Declaration
Performed()
Declaration
PerformedAndStayStarted()
Declaration
public void PerformedAndStayStarted()
ReadValue<TValue>()
Declaration
public TValue ReadValue<TValue>()where TValue : struct
Returns
Type Parameters
SetTimeout(Single)
Declaration
public void SetTimeout(float seconds)
Parameters
Type |
Name |
Description |
System.Single |
seconds |
|
Started()
Declaration