Class ResourceManagerRuntimeData | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class ResourceManagerRuntimeData

    Runtime data that is used to initialize the Addressables system.

    Inheritance
    System.Object
    ResourceManagerRuntimeData
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    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.

    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023