Skip to main content

FlyCamInput.IPlayingActions

An interface in Root.Township, the global namespace.

Callbacks for the fly camera's "Playing" input action map (generated by Unity's Input System). Pass an implementation to SetCallbacks. Nothing in the game code implements it.

Methods​

MemberWhat it is
void OnChangeSenses(InputAction.CallbackContext context)Change senses action. Default: semicolon, or D-pad down.
void OnDecreaseSensitivity(InputAction.CallbackContext context)Lower sensitivity. Default: D-pad left.
void OnElevation(InputAction.CallbackContext context)Move up or down. Default: Q and E, or the shoulder buttons.
void OnExplosionModifier(InputAction.CallbackContext context)Explosion modifier. Default: Ctrl.
void OnIncreaseSensitivity(InputAction.CallbackContext context)Raise sensitivity. Default: D-pad right.
void OnLook(InputAction.CallbackContext context)Look around. Default: mouse movement or the right stick.
void OnModsMuteAction(InputAction.CallbackContext context)Mods mute action. Default: Shift+M.
void OnMotion(InputAction.CallbackContext context)Fly around. Default: WASD or the left stick.
void OnMuteSelfAction(InputAction.CallbackContext context)Mute yourself. Default: M.
void OnShowNames(InputAction.CallbackContext context)Show player names. Default: N.
void OnSpeedDirection(InputAction.CallbackContext context)Speed up or slow down. Default: Shift and Ctrl, or pressing the sticks.
void OnToggleCinematicMovement(InputAction.CallbackContext context)Toggle cinematic movement. Default: D-pad up.
void OnToggleCursor(InputAction.CallbackContext context)Show or hide the cursor. Default: Backspace.

Used in​

Members of other types that take, return or hold a IPlayingActions: