getinputactionassafestring - eisclimber/ExPresS-XR GitHub Wiki
Method in CsvUtility
Returns the value of the input actions type as string.
If the input action is unavailable its expectedControlType (surrounded by pointed backet) will be returned,
that usually reflects the expected type but can be null. That can happen outside the editor and if no device is available.
If the action ref is invalid, INPUT_ACTION_ERROR_STRING wil be returned instead.
public static string GetInputActionAsSafeString(InputActionReference actionRef)| Name | Description |
|---|---|
UnityEngine.InputSystem.InputActionReference actionRef |
Action to be converted. |
String of the actions value.