docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    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.

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)