Aloha,
Is it possible to access data from entities of other subscenes during conversion?
Example:
- I have an entity with a DynamicBuffer in subscene X.
- The entity goes through conversion with a conversionsystem that runs later than the conversionsystems of the entities in other subscenes.
- I wish to access the data from the entities in the other subscenes to put some of that data into the dynamicbuffer in subscene X during conversion.
I would suggest mark entities with initialization tag and then create system, which deals with all entities that need to be at initialization. Then remove tag.
You mean during runtime, right?
I was indeed going to do that if it’s impossible to do during conversion time.
I wanted to do it in conversion time to move as much “work” from runtime to conversiontime as possible.
I would assume it just one frame, to compute data, which is run once. So I don’t see much of an issue, if you go 1 frame delay after conversion.
Also, it will make your systems much clearer to read.