void OnGUI() { GUIStyle style = new GUIStyle(); style.fontSize = 26; string currentGameStatus = ApplicationStateManager.GetCurrentStateName(); int halfScreenWidth = Screen.width / 2; int quarterScreenWidth = Screen.width / 4; GUI.TextArea(new Rect(halfScreenWidth - quarterScreenWidth, 10, halfScreenWidth + quarterScreenWidth, Screen.height / 2), currentGameStatus, style); }