Class InputActionPropertyExtensions
Extension methods for Input
Inherited Members
Namespace: UnityEngine .XR.Interaction.Toolkit.Inputs
Assembly: Unity.XR.Interaction.Toolkit.dll
Syntax
public static class InputActionPropertyExtensions
Methods
DisableDirectAction(InputActionProperty)
Disable the action held on to by the property
only if it represents
an Input
Declaration
public static void DisableDirectAction(this InputActionProperty property)
Parameters
Type | Name | Description |
---|---|---|
Input |
property | The property to operate on. |
Remarks
This can make it easier to allow the enabled state of the Input
EnableDirectAction(InputActionProperty)
Enable the action held on to by the property
only if it represents
an Input
Declaration
public static void EnableDirectAction(this InputActionProperty property)
Parameters
Type | Name | Description |
---|---|---|
Input |
property | The property to operate on. |
Remarks
This can make it easier to allow the enabled state of the Input