From 8910aa76289fa8c4d33e9bc82d1c8dc3ff07e35e Mon Sep 17 00:00:00 2001 From: Alexander Gavrilov Date: Fri, 22 Aug 2014 17:24:17 +0400 Subject: [PATCH] Fix the FPS indicator position to avoid the new stock toolbar. --- Misc/FPS.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Misc/FPS.cs b/Misc/FPS.cs index f40bf7e..c33dc16 100644 --- a/Misc/FPS.cs +++ b/Misc/FPS.cs @@ -41,11 +41,11 @@ public void OnGUI() { if (style == null) { - pos = new Rect(Screen.width - 60, 0, 50, 60); + pos = new Rect(Screen.width - 60, 39, 50, 60); style = new GUIStyle(GUI.skin.label); style.alignment = TextAnchor.UpperRight; - style.normal.textColor = new Color(0.7f, 0.7f, 0.7f, 0.5f); + style.normal.textColor = new Color(0.8f, 0.8f, 0.8f, 0.6f); } GUI.Label(pos, fps, style);