using System; namespace UnityEngine.InputSystem.Users { /// /// Options to modify the behavior on . /// [Flags] public enum InputUserPairingOptions { /// /// Default behavior. /// None = 0, /// /// Even if the device is already paired to a user account at the platform level, force the user to select /// an account. /// /// /// This is only supported on Xbox and Switch, at the moment. /// /// On PS4, this is ignored as account pairing is under system control. If the user wants to switch accounts, /// he/she does so by pressing the PS4 button on the controller. /// /// On Xbox, this option will bring up the account picker even if the device is already paired to a user. /// This behavior is useful to allow the player to change accounts. /// /// On platforms other than Xbox and Switch, this option is ignored. /// ForcePlatformUserAccountSelection = 1 << 0, /// /// Suppress user account selection when supported at the platform level and a device is not currently paired /// to a user account. /// /// /// On Xbox, if a device that does not currently have a user account logged in on it is paired to an /// , no account picker will come up and the device will be used without an associated /// user account. /// /// On Switch, this prevents the user management applet from coming up. /// ForceNoPlatformUserAccountSelection = 1 << 1, /// /// If the user already has paired devices, unpair them first. /// UnpairCurrentDevicesFromUser = 1 << 3, } }