Ejemplo n.º 1
0
 void Start()
 {
     MyConst.Init();
     playerName.text = PlayerPrefs.GetString("PlayerInputName", "");
     MyConst.SetPlayerName(playerName.text);
 }
Ejemplo n.º 2
0
 public void StartButton()
 {
     MyConst.SetPlayerName(playerName.text);
     PlayerPrefs.SetString("PlayerInputName", playerName.text);
     SystemScreenController.Instance.ShowScreen("ScreenMainMenu");
 }