using System; using CIG.Translation; using UnityEngine; public class CloudSaveConflictPopupView : PopupBaseView { public void SetLevel(int currentLevel, int cloudLevel) { this._currentLevelLabel.LocalizedString = Localization.Integer(currentLevel); this._cloudLevelLabel.LocalizedString = Localization.Integer(cloudLevel); } public void OnRestoreBackupPressed() { ((CloudSaveConflictPopupState)this.State).ChooseCloud(); } public void OnContinueCurrentPressed() { ((CloudSaveConflictPopupState)this.State).ChooseLocal(); } public override void OnBlackOverlayClicked() { } [SerializeField] private LocalizedText _cloudLevelLabel; [SerializeField] private LocalizedText _currentLevelLabel; }