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