[UNITY] Error with fontfamilyconverter
Hi guys,
I am working with XAML for my game GUI in Blend. I created a standard button with image brush for background. But when I tried to test it, Unity gave me the error that it can't convert the content string using FontFamilyConverter. Do I need to define my own style first ? Also, I would eventually want to generalize the button styles, but I have no clue how I would proceed with that. Any help/advice is appreciated. Sorry if the questions are a bit newbie level, but I am just learning XAML with this project. So bare with me.
I am working with XAML for my game GUI in Blend. I created a standard button with image brush for background. But when I tried to test it, Unity gave me the error that it can't convert the content string using FontFamilyConverter. Do I need to define my own style first ? Also, I would eventually want to generalize the button styles, but I have no clue how I would proceed with that. Any help/advice is appreciated. Sorry if the questions are a bit newbie level, but I am just learning XAML with this project. So bare with me.
Last edited by appit on 23 Aug 2014, 02:38, edited 1 time in total.
Re: Error with fontfamilyconverter
I don't know why the image is not showing up, but here is the url:
http://tinypic.com/r/ouseo9/8
http://tinypic.com/r/ouseo9/8
Re: [UNITY] Error with fontfamilyconverter
Hi!
You are probably using a kind of FontFamily syntax we don't support. We are improving this part in v1.2, for now you should follow the syntax shown in the text tutorial. Anyway, if you paste here the XAML I will provide you more help.
About styling buttons. I recommend starting with our Styles and Templates Tutorial. Take your time to understand everything, it is not an easy subject. We also provide several themes in the Unity package you can examine to learn.
You are probably using a kind of FontFamily syntax we don't support. We are improving this part in v1.2, for now you should follow the syntax shown in the text tutorial. Anyway, if you paste here the XAML I will provide you more help.
About styling buttons. I recommend starting with our Styles and Templates Tutorial. Take your time to understand everything, it is not an easy subject. We also provide several themes in the Unity package you can examine to learn.
Who is online
Users browsing this forum: Ahrefs [Bot] and 7 guests