コード例 #1
0
 void Awake()
 {
     mInstance = this;
     label = this.GetComponentInChildren<Text>();
 }
コード例 #2
0
ファイル: InventoryDes.cs プロジェクト: jiangsyk/RPGProject
 void Awake()
 {
     instance = this;
     label = GetComponentInChildren<UILabel>();
     gameObject.SetActive(false);
 }
コード例 #3
0
 void OnDestory()
 {
     mInstance = null;
 }
コード例 #4
0
 // 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
ファイル: InventoryDes.cs プロジェクト: hafewa/RPGProject
 // 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>();//获取
 }