Пример #1
0
 public void StartGame()
 {
     if (GameObject.FindObjectOfType <BGMSound>())
     {
         Destroy(GameObject.FindObjectOfType <BGMSound>().gameObject);
     }
     CombatSound.Play();
     theBoss.BossDeath("Player1");
     thePlayer1.isStart = true;
     thePlayer2.isStart = true;
     StartButton.SetActive(false);
 }