Esempio n. 1
0
        //-------------------------------------------------------------------------
        public void clearDesktop()
        {
            foreach (var i in MapEtActorMirrorByGuid)
            {
                i.Value.close();
            }
            MapEtActorMirrorByGuid.Clear();

            DesktopConfigData = null;
            AllSeat           = null;

            //UiMgr.Instance.destroyCurrentUi<UiMbPlayDesktop>();
            //UiMgr.Instance.destroyCurrentUi<UiMbPlayerOperate>();
        }
Esempio n. 2
0
        //-------------------------------------------------------------------------
        public override void release()
        {
            foreach (var i in MapEtActorMirrorByGuid)
            {
                i.Value.close();
            }
            MapEtActorMirrorByGuid.Clear();

            AllSeat = null;

            if (Scene != null)
            {
                Scene.Dispose();
                Scene = null;
            }

            EbLog.Note("ClientPlayerDesktop.release()");
        }