8 lines
174 B
GDScript
8 lines
174 B
GDScript
extends CheckButton
|
|
|
|
func _ready():
|
|
set_pressed_no_signal(Global.environment.ssil_enabled)
|
|
|
|
func on_toggled(toggled_on: bool):
|
|
Global.environment.ssil_enabled = toggled_on
|