// Trigger void OnTriggerEnter(Collider other) { if (other.CompareTag("Coin")) { // TODO Debug.Log("Found a coin..."); other.gameObject.SetActive(false); } else if (other.CompareTag("Enemy")) { //TODO // Show UI here ingameUI.Show(); // Game Over gameObject.SetActive(false); } }