Beispiel #1
0
 // 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>();
 }
Beispiel #2
0
 // 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>();
 }