Class ResourceManagerRuntimeData
Runtime data that is used to initialize the Addressables system.
Inheritance
Inherited Members
Namespace: UnityEngine.AddressableAssets
Syntax
public class ResourceManagerRuntimeData
Properties
AssetCacheAge
obsolete - this will be refactored out of here.
Declaration
public float AssetCacheAge { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
AssetCacheSize
obsolete - this will be refactored out of here.
Declaration
public int AssetCacheSize { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
BundleCacheAge
obsolete - this will be refactored out of here.
Declaration
public float BundleCacheAge { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
BundleCacheSize
obsolete - this will be refactored out of here.
Declaration
public int BundleCacheSize { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
CatalogLocations
List of catalog locations to download in order (try remote first, then local)
Declaration
public List<ResourceLocationData> CatalogLocations { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<ResourceLocationData> |
ContentVersion
The content version that was used to generate this runtime data.
Declaration
public string ContentVersion { get; set; }
Property Value
Type | Description |
---|---|
System.String |
PlayerCatalogLocation
The runtime location for the local catalog.
Declaration
public static string PlayerCatalogLocation { get; }
Property Value
Type | Description |
---|---|
System.String |
PlayerSettingsLocation
The runtime location for player settings.
Declaration
public static string PlayerSettingsLocation { get; }
Property Value
Type | Description |
---|---|
System.String |
ProfileEvents
Flag to control whether the ResourceManager sends profiler events.
Declaration
public bool ProfileEvents { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
SettingsHash
The hash of the settings that generated this runtime data.
Declaration
public string SettingsHash { get; set; }
Property Value
Type | Description |
---|---|
System.String |
UsePooledInstanceProvider
obsolete - this will be refactored out of here.
Declaration
public bool UsePooledInstanceProvider { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
GetPlayerCatalogLoadLocation(ResourceManagerRuntimeData.EditorPlayMode)
Gets the player catalog load path based on play mode.
Declaration
public static string GetPlayerCatalogLoadLocation(ResourceManagerRuntimeData.EditorPlayMode mode)
Parameters
Type | Name | Description |
---|---|---|
ResourceManagerRuntimeData.EditorPlayMode | mode | The mode that the player is in. |
Returns
Type | Description |
---|---|
System.String | The player catalog load path. |
GetPlayerSettingsLoadLocation(ResourceManagerRuntimeData.EditorPlayMode)
Gets the player settings path based on play mode.
Declaration
public static string GetPlayerSettingsLoadLocation(ResourceManagerRuntimeData.EditorPlayMode mode)
Parameters
Type | Name | Description |
---|---|---|
ResourceManagerRuntimeData.EditorPlayMode | mode | The mode that the player is in. |
Returns
Type | Description |
---|---|
System.String | The player settings load path. |