You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my opinion the generated attributes that associate a component with a pool is not very descriptive. Imagine I have a pool called "Core", then the attribute will also be called "Core".
I think it would be better to have a PoolAttribute that takes an enum value and those enum values are generated by the code generator.
i.e. instead of having an attribute [Core] it would be an attribute [Pool(Pools.Core)].
The text was updated successfully, but these errors were encountered:
I agree, [Pool(Pools.Core)] is more descriptive. On the other hand these attributes are used for a very specific case and only in entitas components. It's a little less code to write with the current impl. which is nice, if you're writing this over and over again.
In my opinion the generated attributes that associate a component with a pool is not very descriptive. Imagine I have a pool called "Core", then the attribute will also be called "Core".
I think it would be better to have a PoolAttribute that takes an enum value and those enum values are generated by the code generator.
i.e. instead of having an attribute [Core] it would be an attribute [Pool(Pools.Core)].
The text was updated successfully, but these errors were encountered: