Hi,
Does anyone know why GUILayout buttons don’t seem to show any text? If I replace the text with an image it works fine, but text is not working at all. I’ve tried assigning text to a variable, like you would with an image, but this doesn’t show up either. Any clues?
GUILayout.BeginHorizontal();
if(GUILayout.Button(testTex))
{
//shows texture, if variable is replaced by a string variable, nothing shows up
}
if(GUILayout.Button("Continue"))
{
//does not show any text
}
GUILayout.EndHorizontal();