private void OnTriggerEnter(Collider other) { if (other.tag == "Snake") { //Debug.Log("GAME OVER SELF BITEEE"); Lose.Invoke(); } if (other.tag == "Apple") { //Debug.Log("Appleeeeee"); snake.UpgradeSnake(); Destroy(other.gameObject); onAppleEaten.Invoke(); } if (other.tag == "Water") { //Debug.Log("Glouglou"); Lose.Invoke(); } }