Inheritance: MonoBehaviour, Inventory
Beispiel #1
0
 void Start()
 {
     if (((Iitem)obj).Cost > InventoryData.gold)
     {
         gameObject.SetActive(false);
     }
     shop = GameObject.Find("ShopMenu(Clone)").GetComponent <ShopMenu>().shop;
 }
 void Start()
 {
     if (((Iitem)obj).Cost > InventoryData.gold)
         gameObject.SetActive(false);
     shop = GameObject.Find("ShopMenu(Clone)").GetComponent<ShopMenu>().shop;
 }