// Use this for initialization void Start() { ShopData.FindText(transform.GetChild(0), "cost", ShopData.GoldShopCost, null); ShopData.FindText(transform.GetChild(0), "shoulijian_Num", ShopData.GoldShopGet, null); }
// Use this for initialization void Start() { ShopData.FindText(transform.GetChild(0), "cost", null, GetStringArray(ShopData.DiamondShopCost)); ShopData.FindText(transform.GetChild(0), "get", ShopData.DiamondShopGet, null); ShopData.FindText(transform.GetChild(0), "present", ShopData.DiamondShopPresent, null); }
void InitializationText() { ShopData.FindText(transform, "cost", GetCostArray(ShopData.ItemShop), null); ShopData.FindText(transform, "tip", null, ShopData.ItemTips); }