Esempio n. 1
0
        public bool BuildAssetBundles(ABBuildInfo info)
        {
            return(true);

            BuildPipeline.BuildAssetBundles(info.outputDirectory, info.options, info.buildTarget);

            return(true);
        }
Esempio n. 2
0
        public bool BuildAssetBundles(ABBuildInfo info)
        {
            var buildManifest = BuildPipeline.BuildAssetBundles(info.outputDirectory, info.options, info.buildTarget);

            foreach (var assetBundleName in buildManifest.GetAllAssetBundles())
            {
                if (info.onBuild != null)
                {
                    info.onBuild(assetBundleName);
                }
            }
            return(true);
        }