public override void Shutdown() { UnsubscribeLocalEvent <MoveEvent>(); _contextMenuPresenter?.Dispose(); CommandBinds.Unregister <VerbSystem>(); base.Shutdown(); }
public override void Shutdown() { base.Shutdown(); UnsubscribeNetworkEvent <VerbSystemMessages.VerbsResponseMessage>(); UnsubscribeNetworkEvent <PlayerContainerVisibilityMessage>(); UnsubscribeLocalEvent <MoveEvent>(); _contextMenuPresenter?.Dispose(); CommandBinds.Unregister <VerbSystem>(); }