Beispiel #1
0
 public override void Unregister()
 {
     Game.Keyboard.TextInput -= Game_TextInput;
     Game.Keyboard.KeyDown   -= Keyboard_KeyDown;
     input?.Dispose();
     ui?.Dispose();
     sysrender?.Dispose();
     world?.Dispose();
 }
Beispiel #2
0
        public override void Unregister()
        {
            ui.Dispose();
            scene.Dispose();
            Game.Keyboard.KeyDown   -= UiKeyDown;
            Game.Keyboard.TextInput -= UiTextInput;
#if DEBUG
            Game.Keyboard.KeyDown -= Keyboard_KeyDown;
#endif
        }