docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class PlayerProperty

    Represents a property of a player.

    Inheritance
    object
    PlayerProperty
    Namespace: Unity.Services.Multiplayer
    Assembly: solution.dll
    Syntax
    public class PlayerProperty

    Constructors

    PlayerProperty(string, VisibilityPropertyOptions)

    Creates a new PlayerProperty.

    Declaration
    public PlayerProperty(string value = null, VisibilityPropertyOptions visibility = default)
    Parameters
    Type Name Description
    string value

    The value of the property.

    VisibilityPropertyOptions visibility

    The visibility of the property.

    Properties

    Value

    The value of the property.

    Declaration
    public string Value { get; }
    Property Value
    Type Description
    string

    Visibility

    The visibility of the property.

    Declaration
    public VisibilityPropertyOptions Visibility { get; }
    Property Value
    Type Description
    VisibilityPropertyOptions
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)