UnrealEngineHTML5 / Documentation

540 stars 183 forks source link

How to run a C++ function from javascript? #78

Open Ronin12893 opened 3 years ago

Ronin12893 commented 3 years ago

I want to run a C++ function from javascript. I tried a lot of things but nothing seems to work. How can I accomplish this?

TheLacrox commented 3 years ago

@Ronin12893 Can i ask for the version of UE that you are using, If you are using 4.23.1 is a lot more simple, #42 has a plugin that you can replicate to speak in that version, about 4.24.3 i still have to check.

Ronin12893 commented 3 years ago

@TheLacrox I actually want to do the same thing as #6 but i have no idea how to actually get it to work. I also tried cwrap but that also doesn't seem to work. I currently use 4.23.4 but I can easily switch to another version.