Ejemplo n.º 1
0
 public void StartGame()
 {
     if (string.IsNullOrWhiteSpace(inputName.text))
     {
         inputName.text = "";
         if (ie != null)
         {
             StopCoroutine(ie);
         }
         ie = StartCoroutine(ShowPlaceholder());
     }
     else
     {
         SaveLoadData.CreateMain(showCharacterIdx, inputName.text);
     }
 }