docs.unity3d.com
    Show / Hide Table of Contents

    Method GetSceneSectionEntity

    GetSceneSectionEntity(Entity)

    Gets the entity representing the scene section of the entity passed in, the section entity is created if it doesn't already exist. Metadata components added to this section entity will be serialized into the entity scene header. At runtime these components will be added to the scene section entities when the scene is resolved. Only struct IComponentData components without BlobAssetReferences or Entity members are supported.

    Declaration
    public Entity GetSceneSectionEntity(Entity entity)
    Parameters
    Type Name Description
    Entity entity

    The entity for which to get the scene section entity

    Returns
    Type Description
    Entity

    The entity representing the scene section

    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023