docs.unity.cn
    Show / Hide Table of Contents

    Struct SceneReference

    Component that references a scene.

    Namespace: Unity.Entities
    Syntax
    public struct SceneReference : IComponentData, IQueryTypeParameter, IEquatable<SceneReference>
    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.

    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, June 21, 2023