[UE4] Can I put font into a child folder?
the default struct is below, work well on UE4
PrjDir
-MyView.Xaml
-MyFont.ttf
but, when I want to put assets to different folder, it does not work in UE4, while works in WPF, and I use blend to select font : "/GameGUI;component/Fonts/#KaiTi"
PrjDir
-MyView.Xaml
-FontsDir
--MyFOnt.ttf
PrjDir
-MyView.Xaml
-MyFont.ttf
but, when I want to put assets to different folder, it does not work in UE4, while works in WPF, and I use blend to select font : "/GameGUI;component/Fonts/#KaiTi"
PrjDir
-MyView.Xaml
-FontsDir
--MyFOnt.ttf
Re: [UE4] Can I put font into a child folder?
Does it work if you are a relative URI? Something like 'Fonts/#KaiTi'
Re: [UE4] Can I put font into a child folder?
relative uri works fine. I think if I can set font property by select one in blend would be more useful
Re: [UE4] Can I put font into a child folder?
Is your XAML in the project's Content folder? Absolute URIs are considered relative to the game's Content folder by default. I recently added a new editor setting that allows having the XAMLs and related assets out of the Content folder, and I'm going to improve it so that you can import them into any folder in the game's asset directory.
Who is online
Users browsing this forum: Google [Bot] and 38 guests