How to manage entity visibility/representation over multiple screens #17386
-
Suppose you have entities that are visible on one screen, but not on another. For example: A group of characters are visible in combat, but not visible on the travel map. Another way is to remove the graphical components (Sprite in my case). But removing Sprite and all required components will make Bevy crash (while syncing the render world, because I also will have removed SyncToRenderWorld, which you're not supposed to do). I could only remove Sprite, or leave keep SyncToRenderWorld around - a bit ugly, but the best thing I can imagine to fix this. Is there another way? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I don't know if you still need it, I think you should be able to use RenderLayers |
Beta Was this translation helpful? Give feedback.
I don't know if you still need it, I think you should be able to use RenderLayers