docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct SceneReference

    Component that references a scene.

    Implements
    IComponentData
    IQueryTypeParameter
    Namespace: Unity.Entities
    Assembly: Unity.Entities.dll
    Syntax
    public struct SceneReference : IComponentData, IQueryTypeParameter
    Remarks

    This component uses the unique GUID to identify the scene.

    Constructors

    Name Description
    SceneReference(EntitySceneReference)

    Builds a SceneReference from an EntitySceneReference.

    Fields

    Name Description
    SceneGUID

    Unique GUID to identify the scene.

    Methods

    Name Description
    Equals(SceneReference)

    Compares two SceneReference instances to determine if they are equal.

    GetHashCode()

    Computes a hashcode to support hash-based collections.

    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)