Class PlayerProperty
Represents a property of a player.
Inherited Members
Namespace: Unity.Services.Multiplayer
Assembly: Unity.Services.Multiplayer.dll
Syntax
public class PlayerProperty
Constructors
PlayerProperty(string, VisibilityPropertyOptions)
Creates a new PlayerProperty.
Declaration
public PlayerProperty(string value = null, VisibilityPropertyOptions visibility = VisibilityPropertyOptions.Public)
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 |