示例#1
0
 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>();
 }
示例#2
0
 private void Awake()
 {
     _instance = this;
     dialog    = transform.Find("transcripDialog").GetComponent <TranscriptDialog>();
 }