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