Digging out old topic, but for future readers - to add a reference add UPARAM(ref) macro:
UPARAM(ref) FEntityAttribute& GetTargetAttribute() { return targetAttribute; }
Digging out old topic, but for future readers - to add a reference add UPARAM(ref) macro:
UPARAM(ref) FEntityAttribute& GetTargetAttribute() { return targetAttribute; }