private void OnTriggerEnter(Collider other) { if (other.gameObject.tag == "Player") { UIManager.ShowWinScreen(); } }