public static void OnBuildStart(AssetBundleBuildConfig config, bool isGen) { GameResGenerator.ReadGameRes(); BuildBoy.ClearGameRes(config); BuildBoy.CopyLua(); BuildBoy.GenSpriteRes(); if (!isGen) { #if UNITY_STANDALONE_WIN //UGUIAtlasMaker.GenAtlas(); #endif BuildBoy.ChangeUIToAtlas(); } AssetDatabase.Refresh(); //MyModelGenerater.BatchGenerateRolePrefabs(); //MonsterPrefabGenerator.BatchGeneratePrefab(); }
public static void OnCollectFinish() { GameResGenerator.WriteGameRes(); AssetDatabase.Refresh(); }