Class CacheInitializationSettings
Asset container for CacheInitializationData.
Inheritance
System.Object
CacheInitializationSettings
Namespace: UnityEngine.AddressableAssets
Syntax
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
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
System.String |
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. |