diff --git a/Assets/Mirror/Editor/Logging/LogLevelWindow.cs b/Assets/Mirror/Editor/Logging/LogLevelWindow.cs index 5f3ac60ad..1d80f52ca 100644 --- a/Assets/Mirror/Editor/Logging/LogLevelWindow.cs +++ b/Assets/Mirror/Editor/Logging/LogLevelWindow.cs @@ -6,6 +6,7 @@ namespace Mirror.EditorScripts.Logging { public class LogLevelWindow : EditorWindow { + [Header("Log Settings Asset")] [SerializeField] LogSettings settings = null; SerializedObject serializedObject; @@ -33,14 +34,6 @@ void OnGUI() using (new EditorGUILayout.VerticalScope()) { - using (new EditorGUILayout.VerticalScope()) - { - EditorGUILayout.Space(); - EditorGUILayout.LabelField(new GUIContent("Mirror Log Levels"), EditorStyles.boldLabel); - EditorGUILayout.Space(); - EditorGUILayout.Space(); - } - using (new EditorGUILayout.VerticalScope()) { serializedObject.Update(); diff --git a/Assets/Mirror/Editor/Logging/LogLevelsGUI.cs b/Assets/Mirror/Editor/Logging/LogLevelsGUI.cs index 4831b9e64..2aaa855fe 100644 --- a/Assets/Mirror/Editor/Logging/LogLevelsGUI.cs +++ b/Assets/Mirror/Editor/Logging/LogLevelsGUI.cs @@ -27,6 +27,9 @@ public static void DrawLogFactoryDictionary(LogSettings settings) } else { + EditorGUILayout.Space(); + EditorGUILayout.LabelField("Logging Components", EditorStyles.boldLabel); + foreach (KeyValuePair item in LogFactory.loggers) { DrawLoggerField(item); diff --git a/Assets/Mirror/Runtime/Logging/NetworkLogSettings.cs b/Assets/Mirror/Runtime/Logging/NetworkLogSettings.cs index f755dd921..cfa6f1c87 100644 --- a/Assets/Mirror/Runtime/Logging/NetworkLogSettings.cs +++ b/Assets/Mirror/Runtime/Logging/NetworkLogSettings.cs @@ -10,6 +10,7 @@ namespace Mirror.Logging [HelpURL("https://mirror-networking.com/docs/Components/NetworkLogSettings.html")] public class NetworkLogSettings : MonoBehaviour { + [Header("Log Settings Asset")] [SerializeField] internal LogSettings settings; #if UNITY_EDITOR