GBDebugSettings
AUTO-GENERATED FILE — DO NOT EDIT MANUALLY
Source: debug/gb_debug_settings.gd
Version: 5.0
class_name: GBDebugSettings
extends: GBResource
Summary
Debug settings for logging and debugging output. Includes settings for visual debugging as well such as RuleCheckIndicator debug _draw calls to the screen. Note: Feature-specific logging toggles (e.g., GridPositioner2D logging flags) still only produce output when the GBLogger level is set to VERBOSE or higher.
Signals
debug_level_changed- Emitted when the debug level changes to a new value
grid_positioner_log_mode_changed
Exports
level- Global plugin log level. Keep a private backing field only for this property so
we can emit
debug_level_changedwhen the level changes at runtime.
- Global plugin log level. Keep a private backing field only for this property so
we can emit
grid_positioner_log_modedraw_rule_check_indicator_debug- Enable or disable drawing of RuleCheckIndicator debug overlays.
indicator_collision_point_min_radius- RuleCheckIndicator visual tuning exposed in debug settings so teams can centrally adjust debug overlays without editing code.
Minimum pixel radius used when drawing collision points for indicators.
indicator_collision_point_scale- Scale factor applied to collision point radius based on the indicator’s grid size.
indicator_connection_line_min_width- Minimum pixel width used when drawing connection lines for indicators.
indicator_connection_line_scale- Scale factor applied to connection line width based on the indicator’s grid size.
indicator_collision_point_color- Color used to draw collision points (default: red).
indicator_connection_line_color- Color for helper connection lines (default: orange).
indicator_outline_color- Outline color used when drawing indicator shapes (default: white).
Methods
_init()set_debug_level()- Change the LogLevel to the passed value. Emits the [code]debug_level_changed[/code] signal if the level changes.
get_editor_issues()- Get any issues detected in the editor context for this resource.
get_runtime_issues()- Get any runtime issues detected for this resource.