Esempio n. 1
0
 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);
 }
Esempio n. 2
0
 public PopupResult(PopupResultType resultType, string customParam, bool neverShowAgain = false)
 {
     ResultType     = resultType;
     CustomParam    = customParam;
     NeverShowAgain = neverShowAgain;
 }