private void Awake() { // вызываю при респавне объекта scriptCountKills = GameObject.Find("Scripts"); if (gameObject.name == "player") { base.textNameItem = "Buy Health Point(+100)"; if (base.ExistWord()) { hp += 100; HealthPlayer healthPlayerText = gameObject.GetComponent <HealthPlayer>(); healthPlayerText.SubtractionHP(0, 200); } } }