namespace UnityEngine.InputSystem
{
///
/// Determines how joins new players.
///
///
///
///
///
public enum PlayerJoinBehavior
{
///
/// Listen for button presses on devices that are not paired to any player. If they occur
/// and joining is allowed, join a new player using the device the button was pressed on.
///
JoinPlayersWhenButtonIsPressed,
///
/// Listen for button presses on devices that are not paired to any player. If the control
/// they triggered matches a specific action and joining is allowed, join a new player using
/// the device the button was pressed on.
///
JoinPlayersWhenJoinActionIsTriggered,
///
/// Don't join players automatically. Call
/// or explicitly in order to join new
/// players. Alternatively, just create GameObjects with
/// components directly and they will be joined automatically.
///
///
/// This behavior also allows implementing more sophisticated device pairing mechanisms when multiple devices
/// are involved. While initial engagement required by or
/// allows pairing a single device reliably to a player,
/// additional devices that may be required by a control scheme will still get paired automatically out of the
/// pool of available devices.
///
JoinPlayersManually,
}
}