docs.unity.cn
    Show / Hide Table of Contents

    Class EntitySelectionProxy

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

    Inheritance
    Object
    Object
    ScriptableObject
    EntitySelectionProxy
    Inherited Members
    ScriptableObject.CreateInstance(String)
    ScriptableObject.CreateInstance(Type)
    ScriptableObject.CreateInstance<T>()
    Object.GetInstanceID()
    Object.GetHashCode()
    Object.Equals(Object)
    Object.Instantiate(Object, Vector3, Quaternion)
    Object.Instantiate(Object, Vector3, Quaternion, Transform)
    Object.Instantiate(Object)
    Object.Instantiate(Object, Transform)
    Object.Instantiate(Object, Transform, Boolean)
    Object.Instantiate<T>(T)
    Object.Instantiate<T>(T, Vector3, Quaternion)
    Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
    Object.Instantiate<T>(T, Transform)
    Object.Instantiate<T>(T, Transform, Boolean)
    Object.Destroy(Object, Single)
    Object.Destroy(Object)
    Object.DestroyImmediate(Object, Boolean)
    Object.DestroyImmediate(Object)
    Object.FindObjectsOfType(Type)
    Object.FindObjectsOfType(Type, Boolean)
    Object.DontDestroyOnLoad(Object)
    Object.FindObjectsOfType<T>()
    UnityEngine.Object.FindObjectsOfType<T>(System.Boolean)
    Object.FindObjectOfType<T>()
    UnityEngine.Object.FindObjectOfType<T>(System.Boolean)
    Object.FindObjectOfType(Type)
    Object.FindObjectOfType(Type, Boolean)
    Object.ToString()
    Object.name
    Object.hideFlags
    Namespace: Unity.Entities.Editor
    Syntax
    public class EntitySelectionProxy : ScriptableObject, ISerializationCallbackReceiver

    Properties

    Name Description
    Container

    The EntityContainer allowing the Entity data to be visited.

    Visit(Object, PropertyVisitor, VisitParameters)

    Entity

    The Entity wrapped by this instance of EntitySelectionProxy.

    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.

    Select()

    Sets this instance of EntitySelectionProxy as the active selection.

    SelectEntity(World, Entity)

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

    Explicit Interface Implementations

    Name Description
    ISerializationCallbackReceiver.OnAfterDeserialize()
    ISerializationCallbackReceiver.OnBeforeSerialize()
    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Wednesday, July 6, 2022
    Terms of use