Пример #1
0
        public override void ClientTerminate()
        {
            On.Terraria.UI.UIElement.Draw -= UIElement_Draw;
            Interface = null;

            uiPlaygroundUI?.Deactivate();
            uiPlaygroundUI = null;
        }
Пример #2
0
        public override void ClientTerminate()
        {
            Interface             = null;
            lastSelectedUIElement = null;
            selectedUIElements.Clear();

            uiPlaygroundUI?.Deactivate();
            uiPlaygroundUI = null;
        }