UnityEditorLoggingSettings
A class in Root.Township, the global namespace.
Global settings asset for logging to the Unity editor console: on or off, and a level range.
Constructors
| Member | What it is |
|---|
UnityEditorLoggingSettings() | Use ScriptableObject.CreateInstance instead of new; Unity loads the saved ones from assets. |
Fields
2 private and internal fields
| Member | What it is |
|---|
private LoggingLevel maxLevel | Backing field for MaxLevel. |
private LoggingLevel minLevel | Backing field for MinLevel. |
Properties
| Member | What it is |
|---|
LoggingLevel MaxLevel { get; } | Highest log level shown. |
LoggingLevel MinLevel { get; } | Lowest log level shown. |
Methods
1 private and internal method
| Member | What it is |
|---|
private void OnValidate() | Applies IsLogging to the Unity console log target when changed in the inspector. |