docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class ResourceLocatorInfo

    A container for data pertaining to a specific Resource Locator. Used mainly to determine if a content catalog needs to be updated.

    Inheritance
    object
    ResourceLocatorInfo
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: UnityEngine.AddressableAssets
    Assembly: solution.dll
    Syntax
    public class ResourceLocatorInfo

    Constructors

    Name Description
    ResourceLocatorInfo(IResourceLocator, string, IResourceLocation)

    Contstruct a ResourceLocatorInfo for a given Resource Locator.

    Properties

    Name Description
    CanUpdateContent

    Checks to see if the provided CatalogLocation contains the expected amount of dependencies to check for catalog updates

    CatalogLocation

    The Content Catalog location this Resource Locator was loaded from. Catalog locations typically contain exactly two dependencies. The first dependency is the remote location of the content catalog hash file, the second is the local path of the hash file.

    HashLocation

    The remote hash location of the content catalog used by the resource locator

    LocalHash

    The local hash for this Resource Locator. If a remote content catalog is updated and the remote hash changes, this locator info is used to determine if a new content catalog needs to be updated.

    Locator

    The Resource Locator that has been loaded into the Addressables system.

    In This Article
    • Constructors
    • Properties
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)