FlyCamInput
A class in Root.Township, the global namespace.
Generated Unity Input System wrapper for the fly cam (spectator camera) controls, with a single Playing action map (move, look, elevation, sensitivity, show names, mute and so on). Client only.
- Listed in Global namespace: E to H
- Inherits or implements
IInputActionCollection2,IInputActionCollection,IEnumerable<InputAction>,IEnumerable,IDisposable - Nested types
IPlayingActions,PlayingActions
Constructors
| Member | What it is |
|---|---|
FlyCamInput() | Creates a FlyCamInput with default values. |
Fields
15 private and internal fields
| Member | What it is |
|---|---|
private readonly InputActionMap m_Playing | The Playing action map. |
private readonly InputAction m_Playing_ChangeSenses | Change senses action (semicolon, gamepad d-pad down). |
private readonly InputAction m_Playing_DecreaseSensitivity | Lower sensitivity action (gamepad d-pad left). |
private readonly InputAction m_Playing_Elevation | Up and down action (Q and E, gamepad shoulders). |
private readonly InputAction m_Playing_ExplosionModifier | Explosion modifier action (Ctrl). |
private readonly InputAction m_Playing_IncreaseSensitivity | Raise sensitivity action (gamepad d-pad right). |
private readonly InputAction m_Playing_Look | Look action (mouse delta, gamepad right stick). |
private readonly InputAction m_Playing_ModsMuteAction | Mods mute action (Shift+M). |
private readonly InputAction m_Playing_Motion | Move action (WASD, gamepad left stick). |
private readonly InputAction m_Playing_MuteSelfAction | Mute self action (M). |
private readonly InputAction m_Playing_ShowNames | Show names action (N). |
private readonly InputAction m_Playing_SpeedDirection | Speed up or down action (Shift and Ctrl, gamepad stick presses). |
private readonly InputAction m_Playing_ToggleCinematicMovement | Toggle cinematic movement action (gamepad d-pad up). |
private readonly InputAction m_Playing_ToggleCursor | Toggle cursor action (Backspace). |
private FlyCamInput.IPlayingActions m_PlayingActionsCallbackInterface | Callback object currently hooked to the Playing actions. |
Properties
| Member | What it is |
|---|---|
InputActionAsset asset { get; } | The input action asset built from the embedded JSON. |
InputBinding? bindingMask { get; set; } | Binding mask applied to the whole asset. |
IEnumerable<InputBinding> bindings { get; } | Every binding in the asset. |
ReadOnlyArray<InputControlScheme> controlSchemes { get; } | The asset's control schemes (none are defined). |
ReadOnlyArray<InputDevice>? devices { get; set; } | Restricts the asset to these devices, if set. |
FlyCamInput.PlayingActions Playing { get; } | The Playing action map: WASD/left stick motion, mouse/right stick look, Q/E elevation, N to show names, M to mute and more. |
Methods
1 private and internal method
Used in
Members of other types that take, return or hold a FlyCamInput: