Hi,
I want to build a 3D app based on the new App UI | App UI | 2.1.1 concept, but I need some reference/guidance about this approach.
Is it possible to use the App UI/UI Toolkit approach with Cesium?
Is it recommended?
Can someone please give me some insights about this approach?
Thanks!
Hi @asaf.masa,
I’ve never used App UI, so I can’t provide much specific guidance there. But I’m not aware of any reason that Cesium for Unity wouldn’t work with any Unity UI toolkit you like. Have you tried it, and are running into trouble? Do you have any specific concerns?
Thanks for the reply,
UI toolkit worked for me with Cesium after I tested it.
But it didn’t work with Class UIToolkitAppBuilder<T> | App UI | 2.1.1
In what way did it not work?
Hi,
Sorry for the late response.
When creating the App (Unity.AppUI.MVVM.App.html) from this sample and adding Cesium For Unity, I couldn’t make the Cesium globe visible, as the app took up the entire screen (Cesium globe was “under“ the app view).
After making the app background transparent and seeing the Cesium globe, the mouse events were still caught by the app and wouldn’t affect the map.
Hi @asaf.masa, I’m afraid I don’t know, having never used that UI toolkit. I can’t imagine this is Cesium specific, though, as Cesium is just gameobjects rendered in a normal Unity viewport. You might try a more general Unity forum, or one specific to that toolkit if there is such a thing.