void OnGUI()
 {
     if (Debug.isDebugBuild)
     {
         GUILayout.BeginVertical(GUILayout.Width(300));
         GUILayout.Label(string.Format("CodeMemory: {0}KB", GC.GetTotalMemory(false) / 1000f));
         GUILayout.Label(RenderWatcher.Watch("FPS: {0:N0}", 1f / Time.deltaTime));
         GUILayout.EndVertical();
     }
 }