I am trying to bind custom event why it shows signature is wrong?
I think it will be because your custom event does not have the same parameters as the dispatcher?
It’s because you’re inside a function where events can’t live. You can do this instead:
And then place the event outside the function.
- or bind it to another function
- or get crafty:
1 Like
OK,I move the event outside the function. Now it runs properly. Thank you!
2 Likes