예제 #1
0
 public void GetShopStats(UI_Shop shop)
 {
     for (int i = 0; i < ShopButtonScripts.Count; i++)
     {
         if (i < shop.sellItems.Count)
         {
             ShopButtonScripts[i].SetShopEntry(shop.sellItems[i]);
         }
         else
         {
             ShopButtonScripts[i].SetShopEntry(null);
         }
     }
 }
예제 #2
0
	public static UIManager Load() {
		if(instance == null)
			instance = new UI_Shop();
		return instance;
	}