Closed m110 closed 1 year ago
@m110 Thank you very much for adding the helpful function 😄 Sorry for the delay in responding to your pull request. I've been overwhelmed with notifications on GitHub and I inadvertently missed your request for a few days.
Yeah, I agree. I think the name should be using Entry
instead of Entity
. I think we can add new methods with proper names and deprecate the old method name 🙂
On second thought, one concern is that since ECS stands for Entity
, users might expect it to have a FirstEntity()
method as well, so it might be a bit confusing. I think naming it just First()
might be good 🤔
Note: shouldn't these methods use
Entry
instead ofEntity
? LikeFirstEntry
? Since it returns an entry. 🤔