docs.unity3d.com
    Show / Hide Table of Contents

    Class CurrentPlayer

    Utility class to access information about the multiplayer play mode player while in playmode.

    Inheritance
    Object
    CurrentPlayer
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Unity.Multiplayer.Playmode
    Syntax
    public static class CurrentPlayer

    Methods

    ReadOnlyTag()

    Returns the tag assigned to the currently running player.

    Declaration
    public static string ReadOnlyTag()
    Returns
    Type Description
    String
    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