docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct SceneTag

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

    Implements
    ISharedComponentData
    IQueryTypeParameter
    Namespace: Unity.Entities
    Assembly: Unity.Entities.dll
    Syntax
    [Serializable]
    public struct SceneTag : ISharedComponentData, IQueryTypeParameter

    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.

    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)