private void OnTriggerEnter(Collider hit) { if (hit.gameObject.CompareTag("Finish")) { Debug.Log("TrigNextLevel"); dm.SetupNextLevel(); } }
private void OnTriggerEnter(Collider hit) { if (hit.gameObject.CompareTag("Finish")) { Debug.Log("TrigNextLevel"); dm.SetupNextLevel(); } }