Method ConstructAssetBundleName
ConstructAssetBundleName(AddressableAssetGroup, BundledAssetGroupSchema, BundleDetails, string)
Extension point for asset bundle file naming. Invoked from ConstructAssetBundleName(AddressableAssetGroup, BundledAssetGroupSchema, BundleDetails, string) when the build pipeline resolves bundle names. The default implementation runs the standard ConstructAssetBundleName(AddressableAssetGroup, BundledAssetGroupSchema, BundleDetails, string) logic without recursion.
Declaration
protected virtual string ConstructAssetBundleName(AddressableAssetGroup assetGroup, BundledAssetGroupSchema schema, BundleDetails info, string assetBundleName)
Parameters
| Type | Name | Description |
|---|---|---|
| AddressableAssetGroup | assetGroup | Group being built, if any. |
| BundledAssetGroupSchema | schema | Bundled asset schema controlling naming. |
| BundleDetails | info | Bundle details including hash. |
| string | assetBundleName | Base bundle name before group prefix and hashing. |
Returns
| Type | Description |
|---|---|
| string | Final bundle name for the build output. |
Remarks
Do not call GetConstructAssetBundleNameCallback() from overrides; use base or InvokeBaseConstructAssetBundleName(AddressableAssetGroup, BundledAssetGroupSchema, BundleDetails, string) to avoid re-entrancy.