Class BinaryCatalogInitializationSettings
Object to hold cache settings for the binary catalog. Create an asset of this type using the Create menu (Addressables/Initialization/Binary Catalog Initialization Settings) and then add it to the Initialization Objects of the Addressables system settings object.
Implements
Inherited Members
Namespace: UnityEditor.AddressableAssets
Assembly: Unity.Addressables.Editor.dll
Syntax
[CreateAssetMenu(fileName = "BinaryCatalogInitialization.asset", menuName = "Addressables/Initialization/Binary Catalog Initialization Settings")]
public class BinaryCatalogInitializationSettings : ScriptableObject, IObjectInitializationDataProvider
Fields
Name | Description |
---|---|
BinaryStorageBufferCacheSize | This value controls the amount of memory used internally by the storage buffer of the binary catalog. Lower values will use less memory but may result in higher cpu usage as more data will be uncached and will need to be rebuilt. The default value is 128 and should work for most applications. |
CatalogLocationCacheSize | This value controls the number of ResourceLocations to keep in the internal cache for the binary catalog. Lower values will use less memory but may result in higher cpu usage as more data will be uncached and will need to be rebuilt. The default value is 32 and should work for most applications. |
Properties
Name | Description |
---|---|
Name | Name of the settings object. |
Methods
Name | Description |
---|---|
CreateObjectInitializationData() | Creates the initialization data. |