How to make weak object pointer to UINTERFACE-derived class?
It is my impression that an array of GC-aware references to C++ implementations of an Unreal Interface class (declared with UINTERFACE, etc) can be made like so:
And that an array of GC-Aware weak references to any old UObject can be made like so (notably without any UPROPERTY macro):
But I am left a bit flummoxed as to how one would make an array of GC-aware weak pointers to unreal interfaces. Is it even possible?
For anyone looking for an answer to this old question, check TWeakInterfacePtr<> out. It's defined in GameplayTaskTypes.h
answered Mar 13 '19 at 04:07 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here