Exemple #1
0
 void Start()
 {
     utilItemManager = GameObject.Find("UtilItemManager").GetComponent <UtilItemManager>();
     mLabel          = GameObject.Find("Item_Name_Label").GetComponent <UILabel>();
     mDesc           = GameObject.Find("Item_Desc_Label").GetComponent <UILabel>();
     mSprite         = GameObject.Find("Item_Portrait").GetComponent <UISprite>();
 }
Exemple #2
0
	void Start () {
		utilItemManager = GameObject.Find ("UtilItemManager").GetComponent<UtilItemManager>();
		mLabel = GameObject.Find("Item_Name_Label").GetComponent<UILabel>();
		mDesc = GameObject.Find("Item_Desc_Label").GetComponent<UILabel>();
		mSprite = GameObject.Find("Item_Portrait").GetComponent<UISprite>();
	}