public void OnCollisionEnter(Collision other) { if (other.gameObject.tag == "T_Bullets") { droneHealth--; if (droneHealth == 0) { if (other.gameObject.tag == "T_Bullets") { Destroy(gameObject); droneManager.KillCounter(); return; } } } if (other.gameObject.tag == "T_Base") { loseCondition.GameOver(); Destroy(gameObject); } }