Skip to content
Discussion options

You must be logged in to vote

The ECS has currently not functionality for sorting.
You can use query.ToEntityList().ToArray() to get the entities of a query as an Entity[].
This array can than be sorted with Array.Sort<>().

See Example

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@vkensou
Comment options

@friflo
Comment options

friflo Nov 1, 2024
Maintainer

Answer selected by vkensou
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants