Interface MyPlayerControls.IGameplayActions
Callback interface for the actions in the "gameplay" action map.
Namespace: DocCodeSamples.Tests
Assembly: Unity.InputSystem.DocCodeSamples.dll
Syntax
public interface MyPlayerControls.IGameplayActions
Methods
OnMove(CallbackContext)
Called when the "move" action is triggered.
Declaration
void OnMove(InputAction.CallbackContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| InputAction.CallbackContext | context | Context for the triggered action. |
OnUse(CallbackContext)
Called when the "use" action is triggered.
Declaration
void OnUse(InputAction.CallbackContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| InputAction.CallbackContext | context | Context for the triggered action. |