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>(); }
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>(); }