PlayerJoinRule¶
Source:
Assets/UpscaleSDK/Core/Input/Runtime/Players/PlayerJoinRule.cs
enum PlayerJoinRule¶
What a button press on a gamepad that belongs to no player does. Only used when more than one player is allowed.
Values¶
Ignore— Nothing: unassigned gamepads are ignored. The first player still takes the first gamepad pressed while it has none.JoinAsNewPlayer— A new player joins with that gamepad, up to the maximum player count.ReplaceWaitingPlayerFirst— A player whose gamepad was disconnected gets this gamepad first (the longest-waiting one); when nobody waits, a new player joins.