Method GetControllerState
GetControllerState(out XRControllerState)
Gets the state of the controller while playing or recording.
Declaration
public virtual bool GetControllerState(out XRControllerState controllerState)
Parameters
| Type | Name | Description |
|---|---|---|
| XRControllerState | controllerState | When this method returns, contains the XRControllerState object representing the state of the controller. |
Returns
| Type | Description |
|---|---|
| bool | Returns true when playing or recording. Otherwise, returns false. |