Exemple #1
0
    public override void UpdateUI()
    {
        //IL_0038: Unknown result type (might be due to invalid IL or missing references)
        //IL_003d: Unknown result type (might be due to invalid IL or missing references)
        //IL_0053: Unknown result type (might be due to invalid IL or missing references)
        //IL_0058: Unknown result type (might be due to invalid IL or missing references)
        //IL_0060: Unknown result type (might be due to invalid IL or missing references)
        SetFontStyle((Enum)UI.STR_TITLE_MONEY, 2);
        abilityList.SetParameter(equipItemInfo);
        int needMoney = GetNeedMoney();

        SetLabelText((Enum)UI.LBL_GOLD, needMoney.ToString());
        Color color = Color.get_white();

        if (MonoBehaviourSingleton <UserInfoManager> .I.userStatus.money < needMoney)
        {
            color = Color.get_red();
        }
        SetColor((Enum)UI.LBL_GOLD, color);
        bool is_visible = equipItemInfo.tableData.IsEquipableAbilityItem();

        SetActive((Enum)UI.BTN_USE_ABILITY_ITEM, is_visible);
        SetActive((Enum)UI.BTN_DECISION, abilityList.EnableAbilityChange);
        SetActive((Enum)UI.OBJ_NEED_MONEY, abilityList.EnableAbilityChange);
    }
 public override void UpdateUI()
 {
     abilityList.SetParameter(equipItemInfo);
 }