Class ResourceLocatorInfo
A container for data pertaining to a specific Resource Locator. Used mainly to determine if a content catalog needs to be updated.
Inherited Members
Namespace: UnityEngine.AddressableAssets
Assembly: Unity.Addressables.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. |