Пример #1
0
 /// <summary>
 /// Checks if the player has already set a name. If the player hasn't already set a name the Name Ask popup panel will open.
 /// </summary>
 void CheckPlayerNameSet()
 {
     if (GameManager.instance.playerName == "player")
     {
         menuNavigation.OpenPanel(menuNavigation.enterNamePanel);
     }
 }