Scene UI Manager
Last updated
Last updated
It's common for some games to have many different Scene UIs loaded into a game at the same time. This can become difficult to track or manage manually, especially if you need to retrieve and perform updates on specific Scene UI instances.
For this, we have the SceneUIManager that provides ways to quickly retrieve, iterate and update loaded Scene UIs in a world.
The SceneUIManager is used as a singleton and automatically created for a given world instance.
You can access the Scene UI Manager for a world like this:
The SceneUIManager exposes a number of ways to get different types of SceneUI instances loaded in a world. Here's a few examples of how you can use it.
The SceneUIManager class is constantly evolving. You can find the latest .
If there are features that we don't currently support for SceneUIManager that you'd like to see added to the HYTOPIA SDK, you can .