void OnTriggerEnter(Collider other) { Debug.Log(other); if (other.transform.tag == "Goal") { GameManger.CompleteLevel(); } }
private void OnTriggerEnter(Collider other) { gameManger.CompleteLevel(); }
private void OnTriggerEnter() { gameManger.CompleteLevel(); }
void OnTriggerEnter() { gamemanager.CompleteLevel(); }