void Awake() { instance = this; tween = GetComponent <TweenScale>(); describe = transform.Find("bg/describe").GetComponent <UILabel>(); energy = transform.Find("bg/energy").GetComponent <UILabel>(); personBtn = transform.Find("bg/person_btn").GetComponent <UIButton>(); teamBtn = transform.Find("bg/team_btn").GetComponent <UIButton>(); closeBtn = transform.Find("bg/close_btn").GetComponent <UIButton>(); }
private void Awake() { _instance = this; dialog = transform.Find("transcripDialog").GetComponent <TranscriptDialog>(); }