I’m trying to show a toggle box with a text label containing richText markup. If I do this:
toggled = GUILayout.Toggle (toggled, "<b>TOGGLE</b>");
- the markup is not getting parsed. If I do this:
var toggleStyle = new GUIStyle {
richText = true,
};
toggled = GUILayout.Toggle (toggled, "<b>TOGGLE</b>", toggleStyle);
- the markup gets parsed, but the toggle box disappears completely.