Example #1
0
 void Awake()
 {
     mInstance = this;
     label = this.GetComponentInChildren<Text>();
 }
Example #2
0
 void Awake()
 {
     instance = this;
     label = GetComponentInChildren<UILabel>();
     gameObject.SetActive(false);
 }
Example #3
0
 void OnDestory()
 {
     mInstance = null;
 }
 // Use this for initialization
 void Start()
 {
     _instance = this;
     label     = this.GetComponentInChildren <UILabel>();
     this.gameObject.SetActive(false);
 }
Example #5
0
 void Awake()
 {
     instance = this;
     this.gameObject.SetActive(false);
 }
Example #6
0
 // Start is called before the first frame update
 void Awake()
 {
     _instance = this;
     label     = GetComponentInChildren <UILabel>();
     gameObject.SetActive(false);
 }
Example #7
0

        
Example #8
0
 void Awake()
 {
     _instance = this;
 }
Example #9
0
 // Use this for initialization
 void Awake()
 {
     _instance = this;
     label     = this.GetComponentInChildren <UILabel> ();
 }
Example #10
0
 private void Awake()
 {
     _instance = this;
     desText   = GetComponentInChildren <Text>();//获取
 }