Can you put me the script?
As soon as I can, I'm not at my computer right now.
Ok.
For a test, put emit_signal("hit") under func _ready(), and make sure it's indented. It will show the signal popped up, although it isn't emitted at the correct time.
Something like this:
Func _ready(): Emit_signal("hit")
This indenting was done with spaces and will have to be redone with a tab.
So?
The signal hit still has to go above ready.
Signal hit initializes the signal, and emit signal makes the signal happen.
But if I put above ready it give me a error.
It won't anymore because you have emitted the signal.
Also, the error was yellow. Usually you can ignore yellow errors. It's the red ones you have to watch out for. :)
Yellow just means that the code will ignore something.
No appear the signal.
The error is red.
Show me the code and error.
extends rigidbody2D signal hit func _ready(): emit_signal("hit")
What I have to do ?
Does a signal now show in the inspector?
Yes.