12 lines
276 B
GDScript3
12 lines
276 B
GDScript3
|
class_name MusicChangedSlowAction extends Node
|
||
|
|
||
|
func _ready():
|
||
|
MusicSingleton.register_change_action(self)
|
||
|
MusicSingleton.change_music()
|
||
|
|
||
|
func _exit_tree():
|
||
|
MusicSingleton.unregister_change_action(self)
|
||
|
|
||
|
func execute() -> void:
|
||
|
print("Executed OnMusicChangedSlowAction")
|