Is there a plugin or a general way (not emscripten) to invoke a C++ UFUNCTION() in Unreal. I would like to send some events from the page (e.g button click) into unreal html5 build that is embeded into page. Has anyone tried this, can point me in the right direction?
@jonathan.madden Mate, at this point, i’ll go with emscripten, since i had a small breakthrough with it (calling javascript is easy). Can you still post your answer? for future generations at least, thanks!
The short version with a button click example is this: [Webpage Button to UFUNCTION][1]
And a totally unnecessary screenshot of the event in the blueprint graph. Anything that needs to know about that event just binds to our gamemode’s dispatcher:
Thank you! It’s stange however, that i can see methods wrapped in Module (js side) , but when i call them, there’s no response in UE4. (tried on screen messages in functions, no result, will continue trying )