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

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