public void OnShowing(SwrveMessageFormat format)
 {
 }
 public void OnDismiss(SwrveMessageFormat format)
 {
     // Resume game
     this.gameController.getGame().resumeGame();
 }
Ejemplo n.º 3
0
 public override void MessageWasShownToUser(SwrveMessageFormat messageFormat)
 {
 }
 public void OnShow(SwrveMessageFormat format)
 {
     // Pause game
     this.gameController.getGame().pauseGame();
 }
Ejemplo n.º 5
0
 public void OnDismiss(SwrveMessageFormat format)
 {
     // Resume app
     container.UIEnabled = true;
 }
Ejemplo n.º 6
0
 public void OnShow(SwrveMessageFormat format)
 {
     // Pause app
     container.UIEnabled = false;
 }
 public void OnShow(SwrveMessageFormat format)
 {
     // Pause app, disable clicks on other UI elements
     // Optionally: custom message display (for example: transparent background)
     // format.Message.BackgroundAlpha = 0f;
 }
 public void OnDismiss(SwrveMessageFormat format)
 {
     // Resume app and clicks in other UI elements
     // Invoking ResourcesUpdatedCallback on dismiss just to update the UI.
     SwrveComponent.Instance.SDK.config.ResourcesUpdatedCallback.Invoke();
 }
 public void OnShowing(SwrveMessageFormat format)
 {
     // Message displaying, UI elements must continue to be disabled
 }