Jump to content

[SOLVED] "show" callback defined in .UI file not being called


photo

Recommended Posts

Please see attached test world/ui/cpp.

 

MenuBox has "ShowCallback" function tied to "show" event, but the function is not called during execution when the menubox is shown.

Callback works as expected when defined in UnigineScript (un-comment line 12 of test.cpp), but not when defined in UI file.

test.cpp

test.ui

test.world

Link to comment
  • 4 weeks later...
  • 1 month later...

I am using sim_src_win_2.0-RC that I re-downloaded today using SDK browser. No change in behavior with the scene attached above -- SHOW callback is still not being called when defined in UI file. Callback is fired correctly if defined in UnigineScript.

 

Can you show me diff of C++ source fix for this bug?

Link to comment

Fixed! The problem was outdated .ung packages. I am now including compilation of these .ung packages as part of our build process to ensure they are updated when the engine is updated.

Link to comment
×
×
  • Create New...