Class PlayAssetDeliveryBuildProcessor
When building for Android with asset packs support ensures that active player data builder is set to build script which builds for Play Asset Delivery.
This script executes before the AddressablesPlayerBuildProcessor which depending on AddressableAssetSettings.BuildAddressablesWithPlayerBuild value might call active data builder to build addressables before building player.
Implements
Inherited Members
Namespace: UnityEditor .AddressableAssets .Android
Assembly: Unity.Addressables.Android.Editor.dll
Syntax
public class PlayAssetDeliveryBuildProcessor : BuildPlayerProcessor, IOrderedCallback
Properties
callbackOrder
Returns the player build processor callback order.
Declaration
public override int callbackOrder { get; }
Property Value
Type | Description |
---|---|
int |
Overrides
Methods
PrepareForBuild(BuildPlayerContext)
Invoked before performing a Player build. Sets active player data builder to build script which builds for Play Asset Delivery (when building for Android with asset packs support). Disables adding asset bundles from Build folder to the StreamingAssets.
Declaration
public override void PrepareForBuild(BuildPlayerContext buildPlayerContext)
Parameters
Type | Name | Description |
---|---|---|
Build |
buildPlayerContext | Contains data related to the player. |