![]() |
Entitas
0.40.0
Entitas is a super fast Entity Component System (ECS) Framework specifically made for C# and Unity
|
Static Public Member Functions | |
static TEntity [] | GetEntities< TEntity > (this IContext< TEntity > context, IMatcher< TEntity > matcher) |
Returns all entities matching the specified matcher. | |
static Collector< TEntity > | CreateCollector< TEntity > (this IContext< TEntity > context, IMatcher< TEntity > matcher, GroupEvent groupEvent=GroupEvent.Added) |
Creates an Collector. | |
static TEntity | CloneEntity< TEntity > (this IContext< TEntity > context, IEntity entity, bool replaceExisting=false, params int[] indices) |
Definition at line 3 of file ContextExtension.cs.
|
inlinestatic |
Creates a new entity and adds copies of all specified components to it. If replaceExisting is true it will replace exisintg components.
TEntity | : | class | |
TEntity | : | IEntity | |
TEntity | : | new() |
Definition at line 20 of file ContextExtension.cs.