Interface ShipInputActions.IShipControlsActions
Interface to implement callback methods for all input action callbacks associated with input actions defined by "ShipControls" which allows adding and removing callbacks.
Namespace: NWH.DWP2.ShipController
Assembly: NWH.DWP2.dll
Syntax
public interface ShipInputActions.IShipControlsActions
Methods
| Edit this page View SourceOnAnchor(CallbackContext)
Method invoked when associated input action "Anchor" is either UnityEngine.InputSystem.InputAction.started, UnityEngine.InputSystem.InputAction.performed or UnityEngine.InputSystem.InputAction.canceled.
Declaration
void OnAnchor(InputAction.CallbackContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| InputAction.CallbackContext | context |
See Also
OnBowThruster(CallbackContext)
Method invoked when associated input action "BowThruster" is either UnityEngine.InputSystem.InputAction.started, UnityEngine.InputSystem.InputAction.performed or UnityEngine.InputSystem.InputAction.canceled.
Declaration
void OnBowThruster(InputAction.CallbackContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| InputAction.CallbackContext | context |
See Also
OnEngineStartStop(CallbackContext)
Method invoked when associated input action "EngineStartStop" is either UnityEngine.InputSystem.InputAction.started, UnityEngine.InputSystem.InputAction.performed or UnityEngine.InputSystem.InputAction.canceled.
Declaration
void OnEngineStartStop(InputAction.CallbackContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| InputAction.CallbackContext | context |
See Also
OnRotateSail(CallbackContext)
Method invoked when associated input action "RotateSail" is either UnityEngine.InputSystem.InputAction.started, UnityEngine.InputSystem.InputAction.performed or UnityEngine.InputSystem.InputAction.canceled.
Declaration
void OnRotateSail(InputAction.CallbackContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| InputAction.CallbackContext | context |
See Also
OnSteering(CallbackContext)
Method invoked when associated input action "Steering" is either UnityEngine.InputSystem.InputAction.started, UnityEngine.InputSystem.InputAction.performed or UnityEngine.InputSystem.InputAction.canceled.
Declaration
void OnSteering(InputAction.CallbackContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| InputAction.CallbackContext | context |
See Also
OnSternThruster(CallbackContext)
Method invoked when associated input action "SternThruster" is either UnityEngine.InputSystem.InputAction.started, UnityEngine.InputSystem.InputAction.performed or UnityEngine.InputSystem.InputAction.canceled.
Declaration
void OnSternThruster(InputAction.CallbackContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| InputAction.CallbackContext | context |
See Also
OnSubmarineDepth(CallbackContext)
Method invoked when associated input action "SubmarineDepth" is either UnityEngine.InputSystem.InputAction.started, UnityEngine.InputSystem.InputAction.performed or UnityEngine.InputSystem.InputAction.canceled.
Declaration
void OnSubmarineDepth(InputAction.CallbackContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| InputAction.CallbackContext | context |
See Also
OnThrottle(CallbackContext)
Method invoked when associated input action "Throttle" is either UnityEngine.InputSystem.InputAction.started, UnityEngine.InputSystem.InputAction.performed or UnityEngine.InputSystem.InputAction.canceled.
Declaration
void OnThrottle(InputAction.CallbackContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| InputAction.CallbackContext | context |
See Also
OnThrottle2(CallbackContext)
Method invoked when associated input action "Throttle2" is either UnityEngine.InputSystem.InputAction.started, UnityEngine.InputSystem.InputAction.performed or UnityEngine.InputSystem.InputAction.canceled.
Declaration
void OnThrottle2(InputAction.CallbackContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| InputAction.CallbackContext | context |
See Also
OnThrottle3(CallbackContext)
Method invoked when associated input action "Throttle3" is either UnityEngine.InputSystem.InputAction.started, UnityEngine.InputSystem.InputAction.performed or UnityEngine.InputSystem.InputAction.canceled.
Declaration
void OnThrottle3(InputAction.CallbackContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| InputAction.CallbackContext | context |
See Also
OnThrottle4(CallbackContext)
Method invoked when associated input action "Throttle4" is either UnityEngine.InputSystem.InputAction.started, UnityEngine.InputSystem.InputAction.performed or UnityEngine.InputSystem.InputAction.canceled.
Declaration
void OnThrottle4(InputAction.CallbackContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| InputAction.CallbackContext | context |