I seem to have issues trying to make unity realize that changes have been made. It's like the editor won't auto compile. Frustrating. I did windows update and rebooted then the Lion example project magically started working. Had to open my XAML file and change the background color on my personal project for it to not have the "I can't find the XAML" compiler error. I wish there there was a "force recompile all" button in unity.
Next problem is getting my custom font to work again. Any ideas? I'm trying not to be annoying and really appreciate all the help. I followed the example in the documentation to double check my work but the compiler is again complaining (
http://www.noesisengine.com/docs/Gui.Co ... orial.html).
Error 1)
[dx11] Assets/Darren/Code/Title.xaml
Parsing TextBlock.FontFamily (@15,2).
FontFamily 'D:/Work/Source Code/Unity/Marauders/Assets/Darren/Font/KaushanScript-Regular' not found
UnityEngine.Debug:LogError(Object)
Noesis.BuildToolKernel:OnLog(Int32, String) (at Assets/Editor/NoesisGUI/NoesisBuildToolKernel.cs:267)
System.Object:wrapper_native_4238D6E0(String)
Noesis.BuildToolKernel:BuildIncremental() (at Assets/Editor/NoesisGUI/NoesisBuildToolKernel.cs:116)
NoesisPostProcessor:Build(String) (at Assets/Editor/NoesisGUI/NoesisPostProcessor.cs:251)
Warning 1)
Unable to open Assets/Darren/Font/KaushanScript-Regular.otf: Check external application preferences.
XAML) Assets\Darren\Code\Title.xaml
<Canvas
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"
mc:Ignorable="d"
xmlns:noesis="clr-namespace:NoesisGUIExtensions">
<Canvas.Background>
<ImageBrush ImageSource="../Graphics/Raster/Background/MistyMountain.jpg" />
</Canvas.Background>
<!-- FontFamily="../Font/#KaushanScript-Regular" -->
<!-- Title -->
<Rectangle Fill="Crimson" Canvas.Top="250" Canvas.Left="40" Width="700" Height="100" Opacity="0.5" />
<TextBlock Canvas.Top="75" Canvas.Left="250" Text="Marauders"
FontSize="300" FontFamily="../Font/#KaushanScript-Regular" noesis:Text.Stroke="Crimson" noesis:Text.StrokeThickness="10" />
</Canvas>
Here's the physical location.
Assets\Darren\Font\KaushanScript-Regular.otf
Font is installed on the OS. Download here
https://www.fontsquirrel.com/fonts/kaushan-script.