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

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