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