calling function from TScriptInterface that is implemented in blueprints
Hi, I have a
now I can assign the property in editor and I would like to be able to call the SomeInterfaceClass functions from this property.
Thanks in advance,
asked Jul 07 '15 at 09:09 AM in C++ Programming
I found a solution. It's way easier than I expected :) In case anybody encounters same problem I'll post it here.
Whenever you create and implement an interface by using the GENERATED_UINTERFACE_BODY() and GENERATED_IINTERFACE_BODY() it fills all your UFUNCTION() functions in ProjectName.generated.cpp and gives them a static Execute_FunctionName( UObject* O, Params... ); equivalent where you just pass the UObject* O as the function context.
answered Jul 07 '15 at 12:31 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here