Exemplo n.º 1
0
        public void ShowShop(int shopId)
        {
            ShopDefine shop;

            if (DataManager.Instance.Shops.TryGetValue(shopId, out shop))
            {
                UIShop uiShop = UIManager.Instance.Show <UIShop>();
                if (shop != null)
                {
                    uiShop.SetShop(shop);
                }
            }
        }