//------------------------------------------------------------------------- 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>(); }
//------------------------------------------------------------------------- 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()"); }