Ejemplo n.º 1
0
    public override void UpdateUI()
    {
        base.UpdateUI();
        UITexture component  = GetCtrl(UI.TEX_POINT_ICON).GetComponent <UITexture>();
        UITexture component2 = GetCtrl(UI.TEX_EVENT_POP).GetComponent <UITexture>();

        ResourceLoad.LoadPointIconImageTexture(component, (uint)data.pointShopId);
        ResourceLoad.LoadPointShopBGTexture(component2, (uint)data.pointShopId);
        SetLabelText((Enum)UI.LBL_POINT, string.Format(StringTable.Get(STRING_CATEGORY.POINT_SHOP, 2u), data.userPoint));
        SetList();
    }