Вы не можете выбрать более 25 тем
Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
|
- using System;
- using CIG.Translation;
- using SUISS.Core;
- using SUISSEngine;
- using UnityEngine;
-
- public class TooMuchParallelBuildsPopupView : PopupBaseView
- {
- public void UpdateInfo(Currencies extraCost)
- {
- this._bodyLabel.LocalizedString = Localization.Format(Localization.Key("too_many_builds"), new ILocalizedString[]
- {
- Localization.Integer(SingletonMonobehaviour<CIGBuilderManager>.Instance.MaxBuildCount)
- });
- this._goldLabel.LocalizedString = Localization.Integer(extraCost.GetValue("Gold"));
- }
-
- public void OnBuyButtonClicked()
- {
- ((TooMuchParallelBuildsPopupState)this.State).Buy();
- }
-
- public void OnCancelClicked()
- {
- this.OnCloseClicked();
- }
-
- [SerializeField]
- private LocalizedText _bodyLabel;
-
- [SerializeField]
- private LocalizedText _goldLabel;
- }
|