I am trying to implement a brightness slider into my game but am running into problems connecting the signal.
A global function is called, which should emit a signal.
The function successfully prints the value so the error is not to do with this. The signal is connected to the below script.
GlobalSettings.connect("change_brightness", self, "_on_brightness_updated")
environment.adjustment_brightness = value # sets new brightness value
Hello is not being printed showing the signal is not working.