UnityEditor.NetworkManagerHUDEditor.ShowClientInfo C# (CSharp) Method

ShowClientInfo() private method

private ShowClientInfo ( ) : void
return void
        private void ShowClientInfo()
        {
            if (NetworkClient.active)
            {
                this.m_ShowClient = EditorGUILayout.Foldout(this.m_ShowClient, this.m_ShowClientLabel);
                if (this.m_ShowClient)
                {
                    EditorGUI.indentLevel++;
                    EditorGUILayout.BeginVertical(new GUILayoutOption[0]);
                    int num = 0;
                    foreach (NetworkClient client in NetworkClient.allClients)
                    {
                        if (client.connection == null)
                        {
                            EditorGUILayout.TextField("client " + num + ": ", client.GetType().Name + " Conn: null", new GUILayoutOption[0]);
                        }
                        else
                        {
                            EditorGUILayout.TextField("client " + num + ":", client.GetType().Name + " Conn: " + client.connection, new GUILayoutOption[0]);
                            EditorGUI.indentLevel++;
                            foreach (PlayerController controller in client.connection.playerControllers)
                            {
                                EditorGUILayout.LabelField("Player", controller.ToString(), new GUILayoutOption[0]);
                            }
                            EditorGUI.indentLevel--;
                        }
                        num++;
                    }
                    this.ShowClientObjects();
                    EditorGUILayout.EndVertical();
                    EditorGUI.indentLevel--;
                }
            }
        }