Is it possible to change the color and size an individual letter or series of letters in a string on an editor window. if so how? Tried the <|color=red>T<|/color> works in the console but not the editor window. works on a text component in the scene view but not my editor window. It isn’t necessary would just be really cool to know how to do. wouldn’t mine something like:
<color=green>Z</color><color=grey>ereda</color><color=red>G</color><color=grey>ames</color>
like i said work in some places not others. any help on this?
EditorGUILayout.BeginHorizontal(GUILayout.Width(115));
GUILayout.Space(Screen.width / 2 - 68);
GUI.color = Color.green;
EditorGUILayout.LabelField(“Z”, EditorStyles.whiteLargeLabel, GUILayout.Width(15));
GUI.color = Color.grey;
EditorGUILayout.LabelField(“ereda”, EditorStyles.whiteLabel, GUILayout.Width(45));
GUI.color = Color.red;
EditorGUILayout.LabelField(“G”, EditorStyles.whiteLargeLabel, GUILayout.Width(15));
GUI.color = Color.grey;
EditorGUILayout.LabelField(“ames”, EditorStyles.whiteLabel, GUILayout.Width(40));
GUILayout.Space(Screen.width / 2);
EditorGUILayout.EndHorizontal();
EditorGUILayout.BeginHorizontal();
GUILayout.Space(Screen.width / 2);
GUI.color = Color.green;
EditorGUILayout.LabelField(“{SecurePlayerPrefs.Initialized}”, EditorStyles.whiteLabel, GUILayout.Width(185));
GUI.color = Color.white;
GUILayout.Space(Screen.width / 2);
EditorGUILayout.EndHorizontal();
EditorStyles.whiteLargeLabel
this is what allowed me to do what i wanted (Sorta) still couldn’t change size and color together. seems to be one or the other.