Class CacheInitialization
IInitializableObject that sets up the Caching system.
Inheritance
System.Object
CacheInitialization
Namespace: UnityEngine.AddressableAssets
Syntax
public class CacheInitialization : IInitializableObject
Methods
Initialize(String, String)
Sets properties of the Caching system.
Declaration
public bool Initialize(string id, string dataStr)
Parameters
Type | Name | Description |
---|---|---|
System.String | id | The id of thei object. |
System.String | dataStr | The JSON serialized CacheInitializationData object. |
Returns
Type | Description |
---|---|
System.Boolean | True if the initialization succeeded. |