Enum PlayerJoinBehavior | Input System | 1.0.2
docs.unity3d.com
    Show / Hide Table of Contents

    Enum PlayerJoinBehavior

    Determines how PlayerInputManager joins new players.

    Namespace: UnityEngine.InputSystem
    Syntax
    public enum PlayerJoinBehavior

    Fields

    Name Description Value
    JoinPlayersWhenButtonIsPressed

    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.

    0
    JoinPlayersWhenJoinActionIsTriggered 1
    JoinPlayersManually

    Do not join players automatically. Call or explicitly in order to join new players. Alternatively, just create GameObjects with PlayerInput components directly and they will be joined automatically.

    2
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on 22 January 2021