// Start is called before the first frame update void Start() { itemname = null; this.itempicpath = "ItemPics/empty"; GetComponent <Image>().sprite = Resources.Load <Sprite>(itempicpath); imc = ItemMenuPanel.GetComponent <ItemMenuCon>(); }
// Start is called before the first frame update void Start() { imc = itemMenuPanel.GetComponent <ItemMenuCon>(); ic = inventoryPanel.GetComponent <InventoryCon>(); msg = itemMenuPanel.GetComponent <ItemMenuCon>().msg.GetComponent <FadeFX>(); }