public void setText() { // Text txt = transform.Find("Text").GetComponent<Text>(); // txt.text = text; c.Attack(); }