|
Hi, I have to create a strange keyboard and I have some problems... GUILayout.BeginArea(new Rect(x,y,2*v/3,b/3)); GUILayout.BeginVertical("col1"); GUILayout.BeginHorizontal("fila 1"); if(GUILayout.Button("Q",GUILayout.Width(t),GUILayout.Height(t))) key='q'; if(GUILayout.Button("W",GUILayout.Width(t),GUILayout.Height(t))) key='w'; .... GUILayout.EndHorizontal(); GUILayout.EndVertical(); GUILayout.EndArea(); I need to paint 5 letters in red... How can I change the GUILayout Button font color? Thanks!!
(comments are locked)
|
|
You can use GUI.contentColor to give a specific part an other color :
(comments are locked)
|
