コード例 #1
0
ファイル: PopupViewModel.cs プロジェクト: Hostur/Games-Core
 private void Finalize(PopupResultType resultType)
 {
     this.Log($"Finalize popup with resultType '{resultType.ToString()}'.", LogLevel.DevelopmentInfo);
     _resultCallback?.Invoke(new PopupResult(resultType, _customPopupParam, _neverShowAgain));
     CoreGameEventsManager.Unsubscribe <HardwareBackButtonEvent>(OnHardwareBackButtonEvent);
     OnEnableDisable?.Invoke(false);
 }
コード例 #2
0
ファイル: PopupViewModel.cs プロジェクト: Hostur/Games-Core
 public PopupResult(PopupResultType resultType, string customParam, bool neverShowAgain = false)
 {
     ResultType     = resultType;
     CustomParam    = customParam;
     NeverShowAgain = neverShowAgain;
 }