NewInputSyncFindActionT(String) Method
Finds the synchronized input action associated with the specified name or identifier string and casts it to the specified type.
Namespace: Alteruna.Multiplayer.UnityAssembly: Alteruna.Multiplayer.UnityFiles (in Alteruna.Multiplayer.UnityFiles.dll) Version: 1.0.0+c5328b35489e83c42e288435f5acf6115fd519e0
public NewInputSyncInputActionSyncAction<T> FindAction<T>(
string actionNameOrId
)
where T : struct, new()
- actionNameOrId String
- The name or identifier of the input action to find.
- T
NewInputSyncInputActionSyncActionTAn
NewInputSyncInputActionSync instance representing the synchronized input action of given type.
| ArgumentException | Thrown if the specified input action cannot be found or if the name or identifier is invalid. |