logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class InputMaster

    Inheritance
    object
    InputMaster
    Implements
    IInputActionCollection2
    IInputActionCollection
    IEnumerable<InputAction>
    IEnumerable
    IDisposable
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.InputGateway.Infrastructure.Settings
    Assembly: Serenity.UnityPlayerInput.Infrastructure.dll
    Syntax
    public class InputMaster : IInputActionCollection2, IInputActionCollection, IEnumerable<InputAction>, IEnumerable, IDisposable

    Constructors

    InputMaster()

    Declaration
    public InputMaster()

    Properties

    Camera

    Declaration
    public InputMaster.CameraActions Camera { get; }
    Property Value
    Type Description
    InputMaster.CameraActions

    Game

    Declaration
    public InputMaster.GameActions Game { get; }
    Property Value
    Type Description
    InputMaster.GameActions

    GamepadScheme

    Declaration
    public InputControlScheme GamepadScheme { get; }
    Property Value
    Type Description
    InputControlScheme

    JoystickScheme

    Declaration
    public InputControlScheme JoystickScheme { get; }
    Property Value
    Type Description
    InputControlScheme

    KeyboardMouseScheme

    Declaration
    public InputControlScheme KeyboardMouseScheme { get; }
    Property Value
    Type Description
    InputControlScheme

    Menu

    Declaration
    public InputMaster.MenuActions Menu { get; }
    Property Value
    Type Description
    InputMaster.MenuActions

    Player

    Declaration
    public InputMaster.PlayerActions Player { get; }
    Property Value
    Type Description
    InputMaster.PlayerActions

    TouchScheme

    Declaration
    public InputControlScheme TouchScheme { get; }
    Property Value
    Type Description
    InputControlScheme

    UI

    Declaration
    public InputMaster.UIActions UI { get; }
    Property Value
    Type Description
    InputMaster.UIActions

    XRScheme

    Declaration
    public InputControlScheme XRScheme { get; }
    Property Value
    Type Description
    InputControlScheme

    asset

    Declaration
    public InputActionAsset asset { get; }
    Property Value
    Type Description
    InputActionAsset

    bindingMask

    Declaration
    public InputBinding? bindingMask { get; set; }
    Property Value
    Type Description
    InputBinding?

    bindings

    Declaration
    public IEnumerable<InputBinding> bindings { get; }
    Property Value
    Type Description
    IEnumerable<InputBinding>

    controlSchemes

    Declaration
    public ReadOnlyArray<InputControlScheme> controlSchemes { get; }
    Property Value
    Type Description
    ReadOnlyArray<InputControlScheme>

    devices

    Declaration
    public ReadOnlyArray<InputDevice>? devices { get; set; }
    Property Value
    Type Description
    ReadOnlyArray<InputDevice>?

    Methods

    Contains(InputAction)

    Declaration
    public bool Contains(InputAction action)
    Parameters
    Type Name Description
    InputAction action
    Returns
    Type Description
    bool

    Disable()

    Declaration
    public void Disable()

    Dispose()

    Declaration
    public void Dispose()

    Enable()

    Declaration
    public void Enable()

    FindAction(string, bool)

    Declaration
    public InputAction FindAction(string actionNameOrId, bool throwIfNotFound = false)
    Parameters
    Type Name Description
    string actionNameOrId
    bool throwIfNotFound
    Returns
    Type Description
    InputAction

    FindBinding(InputBinding, out InputAction)

    Declaration
    public int FindBinding(InputBinding bindingMask, out InputAction action)
    Parameters
    Type Name Description
    InputBinding bindingMask
    InputAction action
    Returns
    Type Description
    int

    GetEnumerator()

    Declaration
    public IEnumerator<InputAction> GetEnumerator()
    Returns
    Type Description
    IEnumerator<InputAction>

    Implements

    UnityEngine.InputSystem.IInputActionCollection2
    UnityEngine.InputSystem.IInputActionCollection
    IEnumerable<T>
    IEnumerable
    IDisposable
    In this article
    © 2026 Serenity. All Rights Reserved