Closed MAG-mv closed 1 month ago
Do we know why it's static at all? What I always interpreted that function to be was a unique identifier per-component, in which case having it be just a local variable initialised every time would make more sense?
Might be missing something though.
Sorry about that, misclick! 😱
Do we need to consider scenarios where the entity is a child of another entity which is itself a child? Do we need to recurse up the parent tree calling
GetUniqueComponentId
in order to be certain it's truly unique?
Each entitys id is unique, so this should ensure uniqueness
Do we need to consider scenarios where the entity is a child of another entity which is itself a child? Do we need to recurse up the parent tree calling
GetUniqueComponentId
in order to be certain it's truly unique?Each entitys id is unique, so this should ensure uniqueness
Right, yes of course! Thanks