![]() |
Entitas
0.35.0
Entitas is a super fast Entity Component System (ECS) Framework specifically made for C# and Unity
|
Static Public Member Functions | |
static Entity | SingleEntity (this ICollection< Entity > collection) |
Definition at line 5 of file CollectionExtension.cs.
|
inlinestatic |
Returns the only entity in the collection. It will throw an exception if the collection doesn't have exactly one entity.
Definition at line 10 of file CollectionExtension.cs.