Beispiel #1
0
        void UF_DrawWinEnter(int id)
        {
            MsgLoger logger = Debugger.UF_GetInstance().logger;

            GUILayout.Label(
                string.Format("<color=white>L:{0}</color>  <color=yellow>W:{1}</color>  <color=red>E:{2}</color>",
                              logger.UF_GetTagCount(Debugger.TAG_LOG),
                              logger.UF_GetTagCount(Debugger.TAG_WARN),
                              logger.UF_GetTagCount(Debugger.TAG_ERROR)));
            if (GUILayout.Button("Console", GUILayout.Width(100), GUILayout.Height(80)))
            {
                m_ViewBoardTag = ViewBoardTag.OUTPUT;
            }
            GUI.DragWindow();
        }
Beispiel #2
0
 private void UF_DrawTagMsgButton(string tag, MsgLoger logger)
 {
     UF_SetColor(tag);
     if (GUILayout.Button(string.Format("{0} ({1})", tag, logger.UF_GetTagCount(tag)), GUILayout.Height(40)))
     {
         m_CurrentTag = tag;
     }
     GUILayout.Space(10);
 }