docs.unity.cn
    Show / Hide Table of Contents

    Struct SceneTag

    A Unity-defined shared component assigned to all entities in the same subscene.

    Namespace: Unity.Entities
    Syntax
    [Serializable]
    public struct SceneTag : ISharedComponentData, IEquatable<SceneTag>

    Fields

    Name Description
    SceneEntity

    The root entity of the subscene.

    Methods

    Name Description
    Equals(SceneTag)

    Two SceneTags are equal if they have the same root subscene entity.

    GetHashCode()

    A unique hash code for comparison.

    ToString()

    A string for logging.

    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on 04 August 2022
    Terms of use