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 |
---|---|
bool | True if the data was loaded successfully. |