#Dumb Question - Are components guaranteed to be unique per entity?

1 messages · Page 1 of 1 (latest)

pliant nebula
#

Probably a dumb question, but in the GameObject system you could have multiple components of the same type on a GameObject. In Entities, I'm assuming you only have one, is that correct? I'm writing some code that makes that assumption and I want to make sure I'm not doing something stupid.

frosty granite
#

Yes. You can not have multiple identical component data types on the same entity. Only one of each type is allowed