in C++ by (15.1k 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 (15.1k points)

Check class name in first parameter of URHO3D_HANDLER:

URHO3D_HANDLER(ClassName, Method)

ClassName should be exists class of your application.

Please log in or register to answer this question.