/// <summary> /// Called when [deactivate]. /// </summary> public override void OnDeactivate() { base.OnDeactivate(); if (this.game != null) { game.OnDeactivated(); } }
protected override void OnPause() { if (game != null) { game.OnDeactivated(); } base.OnPause(); }
public override void OnSuspending() { base.OnSuspending(); game.OnDeactivated(); }