docs.unity3d.com
    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
    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
    Terms of use
    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