Exemplo n.º 1
0
 public void OnPlayClick()
 {
     DataManager.isGameStart = true;
     LineGenerate.Initialize();
     Player.isDied = false;
     InvokeRepeating("UpdateScore", 0.5f, 1.0f);
     //Player.gameObject.SetActive(true);
     UIManager.MenuSetActive(false);
     UIManager.GamePlaySetActive(true);
 }