/// <summary> /// 重置 /// </summary> public void ResetArea(GamingMapArea area) { if (area != null) { area.Clear(false); } }
/// <summary> /// 删除所有GamingArea /// </summary> private void DestroyAllGamingArea() { if (m_GamingAreaList != null && m_GamingAreaList.Count > 0) { for (int iGame = 0; iGame < m_GamingAreaList.Count; iGame++) { GamingMapArea mapArea = m_GamingAreaList[iGame]; mapArea.Clear(true); } } }
/// <summary> /// 结束导出 /// </summary> public void EndExport() { if (m_GamingAreaList != null && m_GamingAreaList.Count > 0) { for (int iGaming = 0; iGaming < m_GamingAreaList.Count; iGaming++) { GamingMapArea mapArea = m_GamingAreaList[iGaming]; if (mapArea != null && mapArea.gameObject != null) { mapArea.Clear(); } } } m_GamingAreaList = null; }