private void Awake() { this.party = this.GetComponentInParent <SelectedParty>(); this.btnHpText = this.GetComponentInChildren <Text>(); this.setUnit(null); }
private void Awake() { this.party = this.GetComponentInParent <SelectedParty>(); this.btnHpText = this.GetComponentInChildren <Text>(); this.infoButton = this.transform.GetChild(1).GetComponent <Button>(); this.setUnit(null); }