Godot Version
4.2.1
Question
I have a singleton event handler
I have a sender
I have a reciever
I just want to print out what node sent the signal, when the player steps into an Area 3d I want to know what AreaNode it is in.
I have googled and searched and found people with similar problems. But I can´t figure out anything useful from their answers.
I know Iḿ supposed to write something in the emit() but I keep getting errors like expected one arguement but recieved three.
func _ready() → void:
SignalBus.hello.connect(_on_hello_recieved)
func _on_hello_recieved():
print(“whoAmI?”)