Exemple #1
0
 public void Play()
 {
     if (playerNameInp)
     {
         GameController.PlayerName = playerNameInp.text;
     }
     Data.PlayerName.Set(GameController.PlayerName);
     LeaderBoardData.SetPlayerData(GameController.PlayerName);
     A.GC.Play();
 }
Exemple #2
0
 public void Play()
 {
     if (playerNameInp.NotNull())
     {
         GameController.PlayerName = playerNameInp.text;
     }
     A.SetData(Data.PlayerName, GameController.PlayerName);
     LeaderBoardData.SetPlayerData(GameController.PlayerName);
     A.GC.Play();
 }