Vixen
02b45cc4
csharp
public sealed class InputActionMap

A set of actions that are on or off together.

No guide page documents this yet — the page shows what the code says about itself.

Remarks

The unit a game switches: Player off and Menu on when the pause screen opens, so that Escape means two different things without a single if in the gameplay code. Disabling a map resets every interaction in it, so a hold that was half finished when the menu opened does not complete on the way back.

Fields and properties (6)

  • public InputActionMapData Data

    What the asset said.

  • public string Name

    Its name.

  • public InputActions Asset

    The asset it belongs to.

  • public bool IsEnabled

    Whether its actions are listening.

  • public IReadOnlyList<InputAction> Actions

    Its actions.

  • public InputAction this[string name]

    Finds an action by name, case-insensitively.

Methods (4)

  • public bool TryFind(string? name, out InputAction? action)

    Finds an action by name, case-insensitively.

  • public void Enable()

    Starts listening.

  • public void Disable()

    Stops listening, and forgets everything half-finished.

  • public override string ToString()

    Returns a string that represents the current object.

Used by (11)

  • PlayerRigThirdPersonShooter
  • ActionPlayerInputVixen.Engine
  • GeneratedAccessorTestsVixen.Input.Tests
  • InputActionVixen.Input
  • InputActionTestsVixen.Input.Tests
  • InputActionsVixen.Input
  • InputRebindingOperationVixen.Input
  • InputRebindingTestsVixen.Input.Tests
  • InputServiceVixen.Input
  • MenuActionsVixen.Input.Tests
  • PlayerActionsVixen.Input.Tests