Method LoadLocalCatalogData
LoadLocalCatalogData(String, Func<String, String>, Func<String, String>)
Loads catalog data from a local path.
Declaration
[ExcludeFromBurstCompatTesting("References managed objects")]
public static bool LoadLocalCatalogData(string catalogPath, Func<string, string> fileNameFunc, Func<string, string> archivePathFunc)
Parameters
| Type | Name | Description |
|---|---|---|
| String | catalogPath | The full path to the catalog file. |
| Func<String, String> | fileNameFunc | Functor to transform internal content file names. The string passed in is the file id and the expected returned string is the internal archive file path. (e.g. $"ns:/{k_NameSpaceString}/{ArchivePrefix}/{fileId}") |
| Func<String, String> | archivePathFunc | Functor to transform content archive ids to full local paths. |
Returns
| Type | Description |
|---|---|
| Boolean | True if the data was loaded successfully. |