Class BuildScriptPackedPlayMode
Uses data built by BuildScriptPacked class. This script just sets up the correct variables and runs.
Inherited Members
Namespace: UnityEditor.AddressableAssets.Build.DataBuilders
Syntax
[CreateAssetMenu(fileName = "BuildScriptPackedPlayMode.asset", menuName = "Addressables/Content Builders/Use Existing Build (requires built groups)")]
public class BuildScriptPackedPlayMode : BuildScriptBase, IDataBuilder
Properties
Name
The descriptive name used in the UI.
Declaration
public override string Name { get; }
Property Value
Type | Description |
---|---|
String |
Overrides
Methods
BuildDataImplementation<TResult>(AddressablesDataBuilderInput)
The implementation of BuildData<TResult>(AddressablesDataBuilderInput). That is the public entry point, this is the home for child class overrides.
Declaration
protected override TResult BuildDataImplementation<TResult>(AddressablesDataBuilderInput builderInput)
where TResult : IDataBuilderResult
Parameters
Type | Name | Description |
---|---|---|
AddressablesDataBuilderInput | builderInput | The builderInput object used in the build |
Returns
Type | Description |
---|---|
TResult | The build data result |
Type Parameters
Name | Description |
---|---|
TResult | The type of data to build |
Overrides
CanBuildData<T>()
Used to determine if this builder is capable of building a specific type of data.
Declaration
public override bool CanBuildData<T>()
where T : IDataBuilderResult
Returns
Type | Description |
---|---|
Boolean | True if this builder can build this data. |
Type Parameters
Name | Description |
---|---|
T | The type of data needed to be built. |
Overrides
ClearCachedData()
Used to clean up any cached data created by this builder.
Declaration
public override void ClearCachedData()
Overrides
IsDataBuilt()
Checks to see if the data is built for the given builder.
Declaration
public override bool IsDataBuilt()
Returns
Type | Description |
---|---|
Boolean | Returns true if the data is built. Returns false otherwise. |