Method CreateCatalogLocationWithHashDependencies
CreateCatalogLocationWithHashDependencies<T>(string)
Given a location path that points to a remote content catalog, create a location with the assumed dependencies that point to remote, and local, hash files respectively. The first dependency, remote, assumes that the .hash file is located beside the provided location of the .json catalog file. The second dependency, local, points to a location inside the Addressables local cache data folder. The Addressables local cache data folder is meant for content catalogs and is not the same cache location for AssetBundles.
선언
public static ResourceLocationBase CreateCatalogLocationWithHashDependencies<T>(string remoteCatalogPath) where T : IResourceProvider
파라미터
타입 | 이름 | 설명 |
---|---|---|
string | remoteCatalogPath | The path of the remote content catalog. |
반환
타입 | 설명 |
---|---|
ResourceLocationBase | A resource location with exactly 2 dependencies. The first points to the assumed remote hash file location. The second points to the local hash file location. |
타입 파라미터
이름 | 설명 |
---|---|
T | The type of provider you want to load your given catalog. By default, Addressables uses the ContentCatalogProvider. |
CreateCatalogLocationWithHashDependencies<T>(IResourceLocation)
Given a location path that points to a remote content catalog, create a location with the assumed dependencies that point to remote, and local, hash files respectively. The first dependency, remote, assumes that the .hash file is located beside the provided location of the .json catalog file. The second dependency, local, points to a location inside the Addressables local cache data folder. The Addressables local cache data folder is meant for content catalogs and is not the same cache location for AssetBundles.
선언
public static ResourceLocationBase CreateCatalogLocationWithHashDependencies<T>(IResourceLocation remoteCatalogLocation) where T : IResourceProvider
파라미터
타입 | 이름 | 설명 |
---|---|---|
IResourceLocation | remoteCatalogLocation | A resource location that points to the remote content catalog file. |
반환
타입 | 설명 |
---|---|
ResourceLocationBase | A resource location with exactly 2 dependencies. The first points to the assumed remote hash file location. The second points to the local hash file location. |
타입 파라미터
이름 | 설명 |
---|---|
T | The type of provider you want to load your given catalog. By default, Addressables uses the ContentCatalogProvider. |
CreateCatalogLocationWithHashDependencies<T>(string, string)
Given a location path that points to a remote content catalog and its corresponding remote hash file, create a location with the dependencies
that point to remote, and local, hash files respectively. The first dependency, remote, uses the provided remote hash location.
The second dependency, local, points to a location inside the Addressables local cache data folder. The Addressables local cache data folder is meant for content catalogs
and is not the same cache location for AssetBundles.
선언
public static ResourceLocationBase CreateCatalogLocationWithHashDependencies<T>(string remoteCatalogPath, string remoteHashPath) where T : IResourceProvider
파라미터
타입 | 이름 | 설명 |
---|---|---|
string | remoteCatalogPath | The path of the remote content catalog. |
string | remoteHashPath | The path of the remote catalog .hash file. |
반환
타입 | 설명 |
---|---|
ResourceLocationBase | A resource location with exactly 2 dependencies. The first points to the assumed remote hash file location. The second points to the local hash file location. |
타입 파라미터
이름 | 설명 |
---|---|
T | The type of provider you want to load your given catalog. By default, Addressables uses the ContentCatalogProvider. |