docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Enum InputUserChange

    Indicates what type of change related to an InputUser occurred.

    Namespace: UnityEngine.InputSystem.Users
    Assembly: Unity.InputSystem.dll
    Syntax
    public enum InputUserChange

    Fields

    Name Description
    AccountChanged
    AccountNameChanged
    AccountSelectionCanceled
    AccountSelectionComplete
    AccountSelectionInProgress
    Added

    A new user was added to the system.

    ControlSchemeChanged

    A user switched to a different control scheme.

    ControlsChanged

    A user's bound controls have changed, either because the bindings of the user have changed (for example, due to an override applied with ApplyBindingOverride(InputAction, InputBinding)) or because the controls themselves may have changed configuration (every time the device of the controls receives an DeviceConfigurationEvent; for example, when the current keyboard layout on a Keyboard changes which in turn modifies the displayNames of the keys on the keyboard).

    DeviceLost

    A device was removed while paired to the user.

    DevicePaired

    A user has had a device assigned to it.

    DeviceRegained

    A device that was previously lost (DeviceLost) was regained by the user.

    DeviceUnpaired

    A user has had a device removed from it.

    Removed

    An existing user was removed from the user.

    See Also
    onChange
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)