sedyh/mizu

Add the ability to redefine the entity identifier

Opened this issue · 4 comments

i want every entity has a id which i custom id,then i can use w.GetEntity(id) to obtain the entity which i want update.

sedyh commented

Hello, did I understand correctly that you need the ability to set or redefine your own identifier for entities?

yes,because i need update the specified entity’s component data from backend

sedyh commented

Okay, I'll try to do something about it. A separate method or verification when getting the ID should be suitable.

Thanks