示例#1
0
        public override void Shutdown()
        {
            UnsubscribeLocalEvent <MoveEvent>();
            _contextMenuPresenter?.Dispose();

            CommandBinds.Unregister <VerbSystem>();
            base.Shutdown();
        }
示例#2
0
        public override void Shutdown()
        {
            base.Shutdown();

            UnsubscribeNetworkEvent <VerbSystemMessages.VerbsResponseMessage>();
            UnsubscribeNetworkEvent <PlayerContainerVisibilityMessage>();
            UnsubscribeLocalEvent <MoveEvent>();
            _contextMenuPresenter?.Dispose();

            CommandBinds.Unregister <VerbSystem>();
        }