How to display a popup widget in Unity3D
Posted: 14 Apr 2019, 04:58
Like MessageBox...
Welcome to our official discussion site. You’ll find topics on features, bugs, development, and general support here
https://www.noesisengine.com/forums/
<UserControl x:Class="Game.Dialog"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<Grid Background="#40000000"> <!-- this will cover the entire screen to prevent clicking the UI under the dialog -->
...
<Border x:Name="Dialog" Background="{StaticResource DialogBgBrush}">...</Border>
</Grid>
</UserControl>
<UserControl
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<Grid x:Name="LayoutRoot">...</Grid>
...
<Grid x:Name="DialogLayer">...</Grid>
</UserControl>