Class AssetBundleBuilder
- Namespace
- TAsset
Bundle .Editor
- Assembly
- TAssetBundle.Editor.dll
- Inheritance
-
Asset
Bundle Builder
- Inherited Members
Properties
Settings
TAssetBundle settings
Property Value
Methods
BuildAssetBundle()
Build assets for the current platform
BuildAssetBundle(BuildTarget)
Build assets for that platform
Parameters
buildTarget
BuildTarget target platform
BuildAssetBundle(BuildTarget, string)
Build the assets with the target platform and catalog name
Parameters
buildTarget
BuildTarget target platform
catalogName
stringcatalog name
ClearAllAssetBundleBuildInfos()
Only manifests using composition strategies clear asset bundle build infos.
ClearBuildCache(BuildTarget)
Clear the build cache of the target platform
Parameters
buildTarget
BuildTarget target platform
DryRunBuild(string, AssetBundleBuild[], BuildTarget)
Run a dry build on the target platform and check validation
public static AssetBundleManifest DryRunBuild(string outputPath, AssetBundleBuild[] assetBundleBuilds, BuildTarget buildTarget)
Parameters
outputPath
stringoutput path
assetBundleBuilds
AssetBundle []Build asset bundle builds
buildTarget
BuildTarget target platform
Returns
- Asset
Bundle Manifest AssetBundleManifest
GetAllManifests()
Get all manifests sorted by depth
Returns
- IEnumerable<TAsset
Bundle >Manifest TAssetBundleManifest Collection
GetAssetBundleBuilds(TAssetBundleManifest[])
Get asset bundle build information of target manifests
Parameters
manifests
TAssetBundle []Manifest manifests
Returns
- List<Asset
Bundle >Build AssetBundleBuild list
GetBuiltinOutputPath(BuildTarget)
Get the built-in build output path for the target platform
Parameters
buildTarget
BuildTarget
Returns
GetOutputPath(BuildTarget)
Get the build output path of the target platform
Parameters
buildTarget
BuildTarget target platform
Returns
- string
output path
PostprocessBuild(BuildTarget)
Parameters
buildTarget
BuildTarget
PreprocessBuild(BuildTarget)
Parameters
platform
BuildTarget
RunAllCompositionStrategy()
run all composition strategy
SaveSettings()
save the settings file
Events
OnBuildCompleted
Event raised when the build completed
Event Type
- Action<Build
Target >