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

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