Member of ML.SDK.MLPlayer
Method
bool MLPlayer.SetProperty(string key, Object value)
bool MLPlayer.SetProperty(string key, Object value);
Parameters
Parameter | Type | Description |
---|---|---|
key | string | The name of the property. Use this key to retrieve the property. Must be unique. |
value | Object | The Value to set. Must be serializable for proper synchronization. |
Returns
True if setting the property was successful.
Summary
Sets a custom property to the player. Custom properties are synchronized between the clients. Make sure the property type is serializable.