Struct ResourceCatalogData
Container for resource data.
Namespace: Unity.Scenes
Assembly: Unity.Scenes.dll
Syntax
[MovedFrom(true, "Unity.Entities.Hybrid", "Unity.Entities.Hybrid", null)]
public struct ResourceCatalogData
Fields
| Name | Description |
|---|---|
| CurrentFileFormatVersion | File format needs to change anytime the data layout for this class changes. |
| paths | Path information for resources. This is separate to keep the resources data streamlined as using paths is slow. |
| resources | The resource data. |
Methods
| Name | Description |
|---|---|
| GetGUIDFromPath(string) | Slow path to lookup guid from a path. This first checks the passed in path then just the filename, then the lowercase version of the filename. |
| GetPathFromGUID(Hash128) | Gets the path of a resource from a GUID. |