pegchamp/Menu/Buttons/CameraFXButton.gd
2021-10-05 21:55:34 +02:00

8 lines
171 B
GDScript

extends CheckBox
func _ready():
pressed = GameStats.camera_fx
func _on_CameraFXButton_toggled(button_pressed):
GameStats.camera_fx = button_pressed
Saves.save_game()