Method CreateOptimizedCopy
CreateOptimizedCopy(ContentCatalogData)
Creates an optimized copy of the catalog data. This shortens all dependency keys in order to reduce the amount of key strings that get serialized. Assetbundles generally have a long path that is used as the id and this will replace them with an integer value.
Declaration
public static ContentCatalogData CreateOptimizedCopy(ContentCatalogData original)
Parameters
Type | Name | Description |
---|---|---|
ContentCatalogData | original |
Returns
Type | Description |
---|---|
ContentCatalogData | A newly created catalog that can be serialized and loaded via the runtime. |