docs.unity3d.com
    Show / Hide Table of Contents

    Class EntitySelectionProxy

    Proxy object for an Entity so it can be selected and shown in the inspector.

    Inheritance
    Object
    EntitySelectionProxy
    Namespace: Unity.Entities.Editor
    Syntax
    public class EntitySelectionProxy : ScriptableObject, ISerializationCallbackReceiver

    Properties

    Name Description
    Container

    The EntityContainer allowing the Entity data to be visited.

    Entity

    The Entity wrapped by this instance of EntitySelectionProxy.

    EntityManager
    Exists

    Whether the wrapped Entity currently exists and is valid.

    World

    The World in which the wrapped Entity exists.

    Methods

    Name Description
    CreateInstance(World, Entity)

    Creates and configures an instance of EntitySelectionProxy wrapping the specified Entity.

    OnEntityControlSelectButton(World, Entity)
    Select()

    Sets this instance of EntitySelectionProxy as the active selection.

    SelectEntity(World, Entity)

    Creates and selects an instance of EntitySelectionProxy wrapping the specified Entity.

    SetEntity(World, Entity)

    Events

    Name Description
    EntityControlSelectButton
    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