How to set default value to "self"?

This fitted for my needs, may it helps you:

UFUNCTION(BlueprintCallable,
BlueprintPure, meta=(HidePin =
“WorldContextObject”, DefaultToSelf =
“WorldContextObject”)) static
AQuestManager* GetQuestManager(const
UObject* WorldContextObject);

4 Likes