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