Entitas-csharp: Generate EntityIndex

Created on 6 Mar 2016  ·  4Comments  ·  Source: sschmid/Entitas-CSharp

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");
feature request

Most helpful comment

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

All 4 comments

@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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Noicon picture Noicon  ·  4Comments

CCludts picture CCludts  ·  3Comments

fayte0618 picture fayte0618  ·  5Comments

xkyii picture xkyii  ·  3Comments

jakovd picture jakovd  ·  3Comments