Embedding Unity Build into a UI Framework (Uno Platform) #8498
Replies: 1 comment 1 reply
-
The way Xaml works is that it uses its own implementation of the Windows Visual Layer to do the rendering. The Visual Layer is implemented using DirectComposition. |
Beta Was this translation helpful? Give feedback.
-
Still new to C#/XAML developement. Unity (the game engine) provides a way of embedding a build into a Windows application via Window Handles (HWND), but I'm still trying to wrap my head around the concept of Handles as a whole. I'm currently working in Uno Platform and child components don't seem to have Handles, only the whole Window has one.
The code below embeds the Unity build into the entire window, but I would like it to only occupy a portion of it, such as containing it in a grid or canvas/panel - a "child window" of sorts. I've seen a lot of posts suggesting that I use SwapGridPanels instead to render the content.
Any ideas or pointers (haha) 🤔 ?
Beta Was this translation helpful? Give feedback.
All reactions