Class MultiplayerEventSystem | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class MultiplayerEventSystem

    A modified EventSystem class, which allows multiple players to have their own instances of a UI, each with it's own selection.

    Inheritance
    System.Object
    MultiplayerEventSystem
    Namespace: UnityEngine.InputSystem.UI
    Syntax
    public class MultiplayerEventSystem : EventSystem
    Remarks

    You can use the playerRoot property on MultiPlayerEventSystem to specify a part of the hierarchy belonging to the current player. Mouse selection will ignore any game objects not within this hierarchy. For gamepad/keyboard selection, you need to make sure that the navigation links stay within the player's hierarchy.

    Properties

    playerRoot

    Declaration
    public GameObject playerRoot { get; set; }
    Property Value
    Type Description
    GameObject

    Methods

    Update()

    Declaration
    protected override void Update()
    In This Article
    • Properties
      • playerRoot
    • Methods
      • Update()
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023