Class BuildScriptBase
Base class for build script assets
Namespace: UnityEditor.AddressableAssets.Build.DataBuilders
Syntax
public class BuildScriptBase : ScriptableObject, IDataBuilder
Fields
Name | Description |
---|---|
instanceProviderType | The type of instance provider to create for the Addressables system. |
sceneProviderType | The type of scene provider to create for the addressables system. |
Properties
Name | Description |
---|---|
Log | Stores the logged information of all the build tasks. |
Name | The descriptive name used in the UI. |
Methods
Name | Description |
---|---|
BuildData<TResult>(AddressablesDataBuilderInput) | Build the specified data with the provided builderInput. This is the public entry point. Child class overrides should use BuildDataImplementation<TResult>(AddressablesDataBuilderInput) |
BuildDataImplementation<TResult>(AddressablesDataBuilderInput) | The implementation of BuildData<TResult>(AddressablesDataBuilderInput). That is the public entry point, this is the home for child class overrides. |
CanBuildData<T>() | Used to determine if this builder is capable of building a specific type of data. |
ClearCachedData() | Used to clean up any cached data created by this builder. |
CreateLocationsForPlayerData(PlayerDataGroupSchema, AddressableAssetGroup, List<ContentCatalogDataEntry>, HashSet<Type>) | Utility method for creating locations from player data. |
DeleteFile(String) | Utility method for deleting files. |
IsDataBuilt() | Checks to see if the data is built for the given builder. |
ProcessAllGroups(AddressableAssetsBuildContext) | Loops over each group, after doing some data checking. |
ProcessGroup(AddressableAssetGroup, AddressableAssetsBuildContext) | Build processing of an individual group. |
WriteFile(String, String, FileRegistry) | Utility method to write a file. The directory will be created if it does not exist. |