10 lines
285 B
GDScript
10 lines
285 B
GDScript
extends ColorRect
|
|
|
|
@onready var bar_option = $Bars/Select
|
|
|
|
func _ready() -> void:
|
|
bar_option.selected = ConfigManager.get_setting("bars")
|
|
bar_option.item_selected.connect(change_bar_selection)
|
|
|
|
func change_bar_selection(index: int) -> void:
|
|
ConfigManager.set_setting("bars", index)
|