public override void StartGame() { base.StartGame(); UIMgr.Instance.StartGameUI(); hatController.ToggleControl(true); StartCoroutine(ballSpawner.Spawn()); }
private void OnTriggerEnter(Collider other) { if (other.CompareTag("throwable")) { Destroy(other.gameObject); spawn.Spawn(); } }