docs.unity.cn
    Show / Hide Table of Contents

    Method GetEntityWithoutDependency

    GetEntityWithoutDependency()

    Returns the Entity for the baked game object without establishing a dependency. If no other bakes uses GetEntity to dependency this Entity, it will be stripped before baking pushes it into the live world. This is useful for attaching meta data that is safe to not deploy in the final game if the entity serves no other purpose.

    Declaration
    public Entity GetEntityWithoutDependency()
    Returns
    Type Description
    Entity

    The Entity associated with the authoring component

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