예제 #1
0
 public static void GUI(DiagnosticArrayMsg message)
 {
     message.header.GUI();
     foreach (DiagnosticStatusMsg status in message.status)
     {
         DiagnosticStatusDefaultVisualizer.GUI(status);
     }
 }
예제 #2
0
        public static void GUI(this SelfTestResponse message)
        {
            string pass = message.passed != 0 ? "OK" : "FAIL";

            GUILayout.Label($"Self test {message.id}: {pass}");
            foreach (DiagnosticStatusMsg status in message.status)
            {
                DiagnosticStatusDefaultVisualizer.GUI(status);
            }
        }