in C++ by (14.5k points)
0 like 0 dislike

I have a error when use URHO3D_HANDLER in Urho3D game engine. In code editor URHO3D_HANDLER always crossed out with a red wavy line. On hover, a hint is displayed that IDE don't know where it defined. Also when I compile then give me error. This error only appears if I use URHO3D_HANDLER to SubscribeEvents. How to fix it?

1 Answer

0 like 0 dislike
by (14.5k points)

Check class name in first parameter of URHO3D_HANDLER:

URHO3D_HANDLER(ClassName, Method)

ClassName should be exists class of your application.

Your answer

Try to answer the question as detailed as possible.
Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.