public void Fight(GameObject collObj) { if (Dna.strength > collObj.GetComponent <Creature>().Dna.strength) { Dna.AddStats(collObj.GetComponent <Creature>().Dna, 0.2f); } else { Destroy(gameObject, 0.3f); } }