Ejemplo n.º 1
0
        protected virtual void BuildContentBundle(string AssetBundleName)
        {
            string OutputPath = GetContentBundleExportPath(AssetBundleName);

            if (string.IsNullOrEmpty(OutputPath))
            {
                Debug.LogWarning("Output path unset for: " + AssetBundleName);
                return;
            }

            EditorAssetBundleHelper.Build(AssetBundleName, OutputPath, false);
        }
Ejemplo n.º 2
0
        protected virtual void BuildMasterBundle(string AssetBundleName, bool Multiplatform)
        {
            string OutputPath = GetMasterBundleExportPath(AssetBundleName);

            if (string.IsNullOrEmpty(OutputPath))
            {
                Debug.LogWarning("Output path unset for: " + AssetBundleName);
                return;
            }

            EditorAssetBundleHelper.Build(AssetBundleName, OutputPath, Multiplatform);
        }