예제 #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);
        }
        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);
        }