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.MultiplayerAssembly: Alteruna (in Alteruna.dll) Version: 2.0.2+dcdb8fba58ad1eb99205b1dc6265fd5b3b7cf8ec
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. |