PlayerNameSetting
This is meant to be tied into a Text field and a Button component. It will take whatever is in the Text field and when you click the Button will set that as your designated player name for your client. This will save the player name you have typed to the UIValueStorage component that must exist in the same hierarchy as this component.
Public Virtual Methods
| Method | Description |
|---|---|
| void SetPlayerName(string value) | Will set the value to the UIValueStorage instance and make the confirm button not interactable |
| void SavePlayerName(string value) | This will jsut save the value to PlayerPrefs which makes it available on the next load. |
| void ConfirmButtonPressed() | Just calls SavePlayerName method. |