public void TakeDamage(float Dmg) { Text t = TextEmitter.MakeText( Dmg.ToString() ); t.transform.position = transform.position; Hp -= Dmg; }