- Home /
Can I optimize in-game UI-based console by disabling GameObjects when out of Panel bounds (enable on re-enter)
Hey guys,
I'm working on making a UI-console in the game for a networked game. There are a lot of benefits to having this power in the future which is why I'm trying to achieve such a thing.
Here's the Scroll View structure: https://imgur.com/a/OZJH07W
The GameObjects contains the Text GameObject components—managing the visual structure using Layout Elements and such.
To the question: When these GameObjects in the scroll rects Content gets out of the Panel bounds, any way to detect when it enters and exits. Any way to make the Content size remain it's size when disabling GameObjects (UI components) inside it?
Thanks a lot. Best regards, Arthur.
Comment