Generate Indexer class for fast lookups for fields in components tagged with [IndexKey]
public class NameComponent {
[IndexKey]
public string value;
}
var entity = pool.GetEntityWithNameValue("Player1");
@mzaks
Update:
EntityIndex is already available on develop and can be used.
The code generators are not updated yet. This will probably happen after the typed Entity and Pool is implemented. See #139
Time flies... Can't believe this issue is almost one year old... 🤦♂️
But at least my estimation was correct ;)
Update:
EntityIndex is already available on develop and can be used.
The code generators are not updated yet. This will probably happen after the typed Entity and Pool is implemented. See #139
Most helpful comment
But at least my estimation was correct ;)