I have created Entity of same Type in different system
And later want to access each entity in the same System which created the entity.Is there any way i can store the reference of the entity for later use.
Ex:- system1: ComponentSystem
{
CreateEntity();
AddmoveComponentOnEntity();
}
system2: ComponentSystem
{
CreateEntity();
AddmoveComponentOnEntity();
}
system3: ComponentSystem
{
CreateEntity();
AddmoveComponentOnEntity();
}
Now i want to access in each system the same entity created by that system which has the MoveComponent applied on it.
How is it possible?