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.1+a1176e08a0b4a6bfd8fefeddde6163a16d29e5ab
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. |