Class BuildScriptFastMode
Build script used for fast iteration in the editor.
Inherited Members
Namespace: UnityEditor.AddressableAssets.Build.DataBuilders
Syntax
[CreateAssetMenu(fileName = "BuildScriptFast.asset", menuName = "Addressables/Content Builders/Use Asset Database (faster)")]
public class BuildScriptFastMode : 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 context)
where TResult : IDataBuilderResult
Parameters
Type | Name | Description |
---|---|---|
AddressablesDataBuilderInput | context |
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 |
Overrides
ProcessGroup(AddressableAssetGroup, AddressableAssetsBuildContext)
Build processing of an individual group.
Declaration
protected override string ProcessGroup(AddressableAssetGroup assetGroup, AddressableAssetsBuildContext aaContext)
Parameters
Type | Name | Description |
---|---|---|
AddressableAssetGroup | assetGroup | The group to process |
AddressableAssetsBuildContext | aaContext | The Addressables builderInput object to base the group processing on |
Returns
Type | Description |
---|---|
String | An error string if there were any problems processing the groups |