Class CacheInitializationSettings
Asset container for CacheInitializationData. A user can create one of these assets using the context menu option at Create->Addressables->Initialization->Cache Initialization Settings. This object implements the IObjectInitializationDataProvider interface to create initialization data for the Addressables system. In the Addressables Settings window, there is a list of Initialization Objects that this asset must be added to in order to be included in the build.
Implements
Inherited Members
      Object.FindObjectsByType<T>(FindObjectsSortMode)
    
    
    
      Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
    
    
    
    
      Object.FindFirstObjectByType<T>()
    
    
      Object.FindAnyObjectByType<T>()
    
    
      Object.FindFirstObjectByType<T>(FindObjectsInactive)
    
    
      Object.FindAnyObjectByType<T>(FindObjectsInactive)
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
  Namespace: UnityEditor.AddressableAssets.Settings
Assembly: Unity.Addressables.Editor.dll
Syntax
[CreateAssetMenu(fileName = "CacheInitializationSettings.asset", menuName = "Addressables/Initialization/Cache Initialization Settings")]
public class CacheInitializationSettings : ScriptableObject, IObjectInitializationDataProvider
  Properties
| Name | Description | 
|---|---|
| Data | The cache initialization data that will be serialized and applied during Addressables initialization.  | 
      
| Name | Display name used in GUI for this object.  | 
      
Methods
| Name | Description | 
|---|---|
| CreateObjectInitializationData() | Create initialization data to be serialized into the Addressables runtime data.  |