Replies: 1 comment 2 replies
-
It triggers an assert the second time you try to emplace the same component. That's it. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
eg.
reg->emplace(entity);
reg->emplace(entity);
reg->emplace(entity);
reg->emplace(entity);
reg->view([](CompA& value)
{
// how many times call?
// call once. value = first comp A?
// call once ,value = last comp a?
// call forth
}
)
Beta Was this translation helpful? Give feedback.
All reactions