Пример #1
0
        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();
        }
Пример #2
0
 public static void OnCollectFinish()
 {
     GameResGenerator.WriteGameRes();
     AssetDatabase.Refresh();
 }