Set vertical text GUI layout
How can I adjust the text as shown in my image
This is the code of it source code
void OnGUI() { GUI.skin.label.fontSize = 22; GUILayout.BeginVertical(); // Show message the the memory game is solved and time if (solved == placedWords.Count) { GUI.Box(new Rect((Screen.width / 2) - 100, (Screen.height / 2) - 15, 200, 30), "CONGRATULATIONS!"); GUILayout.BeginHorizontal(); GUILayout.Label("Time "); GUILayout.Label(FinalTime()); GUILayout.EndHorizontal(); } else { // Show time since game started GUILayout.BeginHorizontal(); GUILayout.Label("Time"+ " " +CurrentTime()); GUILayout.EndHorizontal(); }
Advance thank you! ^_^
Your answer
Follow this Question
Related Questions
Problems with player jumping (Welcome to Unity Answers The best place to ask and answer questions ) 0 Answers
Cannons wont move on the vertical axis 0 Answers
Hi, got a problem with my vertical axis. 0 Answers
Move the character automaticly with the road 0 Answers
limit vertical camera rotation 0 Answers