Method CreateEntity
CreateEntity(EntityArchetype)
Declaration
public Entity CreateEntity(EntityArchetype archetype)
Parameters
Type | Name | Description |
---|---|---|
EntityArchetype | archetype |
Returns
Type | Description |
---|---|
Entity |
CreateEntity(EntityArchetype, NativeArray<Entity>)
Declaration
public void CreateEntity(EntityArchetype archetype, NativeArray<Entity> entities)
Parameters
Type | Name | Description |
---|---|---|
EntityArchetype | archetype | |
NativeArray<Entity> | entities |
CreateEntity(ComponentType[])
Declaration
public Entity CreateEntity(params ComponentType[] types)
Parameters
Type | Name | Description |
---|---|---|
ComponentType[] | types |
Returns
Type | Description |
---|---|
Entity |