public override void Unregister() { Game.Keyboard.TextInput -= Game_TextInput; Game.Keyboard.KeyDown -= Keyboard_KeyDown; input.Dispose(); ui.Unhook(); //hud.Dispose(); sysrender.Dispose(); world.Dispose(); }