void Generate() { MFAConfigPath.AutoSetupConfig(); MFADatas.Single.AutoReload(); int beginID = m_target.BeginID; int endID = m_target.EndID; if (endID < beginID) { endID = beginID; } int exCount = 0; foreach (var kv in MFADatas.Single.AnimationExport.m_Data) { var id = kv.Key; if (id < beginID || id > endID) { continue; //id超出范围 } exCount++; var exInfo = kv.Value; //执行导出 MFAExportCore.GenerateOne(exInfo); } if (exCount < 1) { Debug.Log("没有执行任何导出。"); } }
void Generate() { if (m_target.FilterTagList == null || m_target.FilterTagList.Length < 1) { Debug.Log("没有执行任何导出。"); return; } MFAConfigPath.AutoSetupConfig(); MFADatas.Single.AutoReload(); int exCount = 0; foreach (var kv in MFADatas.Single.AnimationExport.m_Data) { var exInfo = kv.Value; if (!CmpTag(exInfo.FindTag, m_target.FilterTagList)) { continue; //tag不匹配 } exCount++; //执行导出 MFAExportCore.GenerateOne(exInfo); } if (exCount < 1) { Debug.Log("没有执行任何导出。"); } }
void Generate() { if (m_target.IDList == null || m_target.IDList.Length < 1) { Debug.Log("没有执行任何导出。"); return; } MFAConfigPath.AutoSetupConfig(); MFADatas.Single.AutoReload(); foreach (var id in m_target.IDList) { var exInfo = MFADatas.Single.AnimationExport.Get(id); if (exInfo == null) { Debug.LogWarning("不存在的任务ID " + id); continue; } //执行导出 MFAExportCore.GenerateOne(exInfo); } }