public static void BatchModeExportAssets() { ysSkillBundleFunc func = new ysSkillBundleFunc(); func.LoadData(); List <ysSkillBundleData.SkillCombieInfo> skillCombineList = func.ReadSkillArtInfoList(); List <ysSkillBundleData.AmmoArtInfo> ammoArtList = func.ReadAmmoArtInfoList(); List <ysSkillBundleData.BuffArtInfo> buffArtList = func.ReadBuffArtInfoList(); func.ExportAllSkillArtPrefab(skillCombineList); func.ExportAllAmmoArtPrefab(ammoArtList); func.ExportAllBuffArtPrefab(buffArtList); }
public void ExportAllSkillArt() { if (GUILayout.Button("导出技能")) { func.ExportAllSkillArtPrefab(skillCombineList, true); } if (GUILayout.Button("导出Ammo")) { // func.ExportAllAmmoArtPrefab(ammoArtInfoList); func.ExportPrefabsIndependent(ammoArtList, func.data.buildTarget, func.data.outputPaths.ammoArtDirecotyPath); } if (GUILayout.Button("导出Buff")) { // func.ExportAllBuffArtPrefab(buffArtInfoList); func.ExportPrefabsIndependent(buffArtList, func.data.buildTarget, func.data.outputPaths.buffArtDirecotyPath); } }