Class CacheInitializationSettings
Asset container for CacheInitializationData.
Inherited Members
Namespace: UnityEditor.AddressableAssets.Settings
Syntax
[CreateAssetMenu(fileName = "CacheInitializationSettings.asset", menuName = "Addressables/Initialization/Cache Initialization Settings")]
public class CacheInitializationSettings : ScriptableObject, IObjectInitializationDataProvider
Properties
Data
The cache initialization data that will be serialized and applied during Addressables initialization.
Declaration
public CacheInitializationData Data { get; set; }
Property Value
Type | Description |
---|---|
CacheInitializationData |
Name
Display name used in GUI for this object.
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
String |
Implements
Methods
CreateObjectInitializationData()
Create initialization data to be serialized into the Addressables runtime data.
Declaration
public ObjectInitializationData CreateObjectInitializationData()
Returns
Type | Description |
---|---|
ObjectInitializationData | The serialized data for the initialization class and the data. |