/// <summary> /// 检测主场景UI是否处于可以做表现的清空状态 /// </summary> bool CheckUIClear() { if (WndManager.GetCurWndsCount() == ConstantData.MainTownClearWndCount) { return(true); } else { return(false); } }