void Start() { window = transform.parent.GetComponent <TalentWindow>(); }
public void initialize() { instance = this; tpText = transform.Find("TP").GetComponent <UILabel>(); setTalents(); }