Method CreateEntity
CreateEntity(EntityArchetype)
Create an entity with specified archetype.
Declaration
public Entity CreateEntity(EntityArchetype archetype)
Parameters
Type | Name | Description |
---|---|---|
EntityArchetype | archetype | The archetype of the new entity. |
Returns
Type | Description |
---|---|
Entity |
CreateEntity()
Create an entity with no components.
Declaration
public Entity CreateEntity()
Returns
Type | Description |
---|---|
Entity |