Method CreateInstance
CreateInstance(World, Entity)
Creates and configures an instance of EntitySelectionProxy wrapping the specified Entity.
Declaration
public static EntitySelectionProxy CreateInstance(World world, Entity entity)
Parameters
| Type | Name | Description |
|---|---|---|
| World | world | The World in which the Entity exists. |
| Entity | entity | The entity to be wrapped by this instance of EntitySelectionProxy. |
Returns
| Type | Description |
|---|---|
| EntitySelectionProxy | A fully configured EntitySelectionProxy, wrapping the specified entity. |