[Beginner] - 2d Overlay
Hello,
I'm attempting to display a simple <Grid> with <Label> over my Unity Scene. I see the Xaml loaded and rendered, but quickly disappears when my Unity scene loads. I'd imagine this is a simple error on my part, but I'd like the reach out and see what to do (so I can move on to the cooler parts of this plugin). I've placed the following Xaml on a default NoesisView which is located on a MainCamera:
I'm attempting to display a simple <Grid> with <Label> over my Unity Scene. I see the Xaml loaded and rendered, but quickly disappears when my Unity scene loads. I'd imagine this is a simple error on my part, but I'd like the reach out and see what to do (so I can move on to the cooler parts of this plugin). I've placed the following Xaml on a default NoesisView which is located on a MainCamera:
Code: Select all
<UserControl x:Class="UI.HudTest"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:vm="clr-namespace:MVVM.ViewModels"
mc:Ignorable="d"
d:DesignWidth="1920"
d:DesignHeight="1080">
<Grid Margin="25"
HorizontalAlignment="Stretch"
VerticalAlignment="Stretch">
<Label Content="HUD"
FontSize="72"
Foreground="White"
Margin="0,0,0,25"
VerticalAlignment="Bottom"
HorizontalAlignment="Center">
</Label>
</Grid>
</UserControl>
Re: [Beginner] - 2d Overlay
Is this marked as solved because you found what was going on? Does it happen with the provided samples?
Who is online
Users browsing this forum: Ahrefs [Bot] and 47 guests