Beispiel #1
0
 protected override void OnDeactivate()
 {
     config.Key.Item.ValueChanged -= KeyPressed;
     UpdateManager.Unsubscribe(OnUpdate);
     config.Dispose();
 }
Beispiel #2
0
 protected override void OnDeactivate()
 {
     config.MenuKey.ValueChanged -= KeyPressed;
     UpdateManager.DestroyGameUpdate(OnUpdate);
     config.Dispose();
 }