Returning interface (iinterface or uinterface?) from UFUNCTION
I've got two UFUNCTION's in a blueprint library:
The first one is fine, I cast it to IUserPositionSource and it's all good. The Get function doesn't work. I've tried returning both "I" and "U" interfaces as a reference parameter and a return value to no avail (miscellaneous errors about casting and conversion). Has anyone pulled this off? I know I could return a UObject and cast it, but that seems a bit messy.
asked Feb 19 '16 at 01:35 AM in C++ Programming
Follow this question
Once you sign in you will be able to subscribe for any updates here