Class EntitySelectionProxy
Proxy object for an Entity so it can be selected and shown in the inspector.
Inherited Members
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 |
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() |