UIValueStorage
This is use to store values and take actions based on changes to the values placed in this. There should only ever be one of these scripts in your project at any given time.
Public Fields
Note: Delegates.StringDelegate = public delegate void StringDelegate(string value);
| Field Name | Description |
|---|---|
| string PlayerName | When a value is placed into this field it will fire OnPlayerNameChanged delegate and will also attempt to store this value into the ClientConnection that the local client owns. |
| Delegates.StringDelegate OnPlayerNameChanged | This is a delegate that is fired anytime the PlayerName has been changed in anyway. Use this to fire other methods based on this event. |
Partial Methods
| Method | Description |
|---|---|
| void UpdateName() | This is called by the ClientConnection when it is first intitalized to bring the UIValueStorage in sync with this already set local values. |