void Awake() { mInstance = this; label = this.GetComponentInChildren<Text>(); }
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); }
void Awake() { instance = this; this.gameObject.SetActive(false); }
// Start is called before the first frame update void Awake() { _instance = this; label = GetComponentInChildren <UILabel>(); gameObject.SetActive(false); }
void Awake() { _instance = this; }
// Use this for initialization void Awake() { _instance = this; label = this.GetComponentInChildren <UILabel> (); }
private void Awake() { _instance = this; desText = GetComponentInChildren <Text>();//获取 }