Class
- Namespace
- CoreFramework.Settings
The CoreFrameworkPreferences
class is a ScriptableSingleton managing Core Framework preferences for debugging logs
and log message font sizes. It provides fields and properties for toggling debugging logs and adjusting font sizes
for informational, warning, and error log messages.
[FilePath("CoreFrameworkPreferences.asset", FilePathAttribute.Location.PreferencesFolder)]
public class CoreFrameworkPreferences : ScriptableSingleton<CoreFrameworkPreferences>
- Inheritance
-
object
- Extension Methods
Fields
_errorSize
The font size for error log messages.
[SerializeField]
private int _errorSize
Field Value
- int
_infoSize
The font size for informational log messages.
[SerializeField]
private int _infoSize
Field Value
- int
_showDebug
A flag indicating whether debugging logs should be shown.
[SerializeField]
private bool _showDebug
Field Value
- bool
_warningSize
The font size for warning log messages.
[SerializeField]
private int _warningSize
Field Value
- int
Properties
ErrorSize
The font size for error log messages.
public int ErrorSize { get; set; }
Property Value
- int
InfoSize
The font size for informational log messages.
public int InfoSize { get; set; }
Property Value
- int
ShowDebug
A flag indicating whether debugging logs should be shown.
public bool ShowDebug { get; set; }
Property Value
- bool
WarningSize
The font size for warning log messages.
public int WarningSize { get; set; }
Property Value
- int