public override void StartGame()
 {
     base.StartGame();
     UIMgr.Instance.StartGameUI();
     hatController.ToggleControl(true);
     StartCoroutine(ballSpawner.Spawn());
 }
Пример #2
0
 private void OnTriggerEnter(Collider other)
 {
     if (other.CompareTag("throwable"))
     {
         Destroy(other.gameObject);
         spawn.Spawn();
     }
 }