docs.unity.cn
    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.

    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Friday, August 12, 2022
    Terms of use