Пример #1
0
 protected virtual void Start()
 {
     Arena.Calculate();
     if (GameMaster.instance.twoPlayersActive == false)
     {
         PlayerTwo.GetComponent <Player>().playerUI.SetActive(false);
         PlayerTwo.SetActive(false);
     }
     else
     {
         PlayerTwo.GetComponent <Player>().playerUI.SetActive(true);
         PlayerTwo.SetActive(true);
     }
 }
Пример #2
0
 void Start()
 {
     Arena.Calculate();
     Time.timeScale = 1;
 }
 void Start()
 {
     Arena.Calculate();
     mPlayer.enabled = false;
     mState          = State.Paused;
 }