How do you invoke a method using reflection on a UObject?
I've just read https://www.unrealengine.com/blog/unreal-property-system-reflection and I'm not extremely interested in being able to dynamically invoke a function from an object instance in C++.
I can get a reference to a UFunction * using TFieldIterator, but I can't figure out how to invoke it with it's required arguments.
How can this be done?
The only example I can find in the engine source seems to be a vastly complicated RPC call...
asked Mar 24 '15 at 01:54 PM in C++ Programming
For the sake of convenience, since this was the first result in Google, the answer can be found here:
answered Jun 11 '18 at 03:48 AM
Baron von Whimsy
Follow this question
Once you sign in you will be able to subscribe for any updates here