Пример #1
0
 public override void OnGUI()
 {
     if (memoryLog == null)
     {
         memoryLog = Log.CloneMemoryLog();
         Log.Tag tag = Log.Tag.Error;
         while (tag >= Log.logPriority)
         {
             showTagsNum[(int)tag] = memoryLog.Count(tag);
             --tag;
         }
         Log.OnLogEvent += OnLogToConsolePage;
     }
     GUILayout.BeginVertical(GUILayout.Height(GUI.skin.window.padding.top), GUILayout.MinHeight(100));
     DrawToolbar();
     DrawFilter();
     DrawLogList();
     GUILayout.EndVertical();
 }