Esempio n. 1
0
    /// <summary>
    /// 刷新下次免费刷新时间Label;
    /// </summary>
    void updateNextRefreshTimeLb()
    {
        PlayerDataModule pdm = ModuleManager.Instance.FindModule <PlayerDataModule>();

        if (pdm == null)
        {
            return;
        }

        int index = pdm.GetPlayerShopData().Buncket;

        List <int> times = ShopModule.GetRefreshTimes();

        sRefreshTimeLb.text = string.Format(StringHelper.GetString("shop_refresh_time"), times[index]);
        //return null;
    }