Пример #1
0
        // --------------------------------------------------------------------------------------------
        public void CleanUp()
        {
            UIWorldInteractionPanel.RemoveListener(_unitActionManager);

            gameCamera.Destroy();
            sun.Destroy();
            board.Destroy();
            _hudManager.Destroy();
            _uiWorldInteractionPanel.Destroy();
        }
Пример #2
0
        // --------------------------------------------------------------------------------------------
        public override void Destroy()
        {
            base.Destroy();

            UIWorldInteractionPanel.RemoveListener(this);
        }