docs.unity.cn
    Show / Hide Table of Contents

    Method ConfigureEditorRenderData

    ConfigureEditorRenderData(Entity, GameObject, Boolean)

    Configures rendering data for picking in the editor.

    Declaration
    public void ConfigureEditorRenderData(Entity entity, GameObject pickableObject, bool hasGameObjectBasedRenderingRepresentation)
    Parameters
    Type Name Description
    Entity entity

    The entity to which we apply the configuration

    GameObject pickableObject

    The game object that should be picked when clicking on an entity

    Boolean hasGameObjectBasedRenderingRepresentation

    If there is a game object based rendering representation, like MeshRenderer this should be true. If the only way to render the object is through entities it should be false

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