ue4 execute delegate from blueprint 1

ue4 execute delegate from blueprint

	UPROPERTY(BlueprintCallable)
	FYourDelegate DelegateVar;

Here is what the above code is Doing:
1. The UFUNCTION macro is used to expose the function to Blueprints.
2. The BlueprintCallable keyword is used to make the function callable from Blueprints.
3. The DelegateVar variable is declared as a delegate.
4. The DelegateVar variable is exposed to Blueprints.

Now, let’s create a Blueprint class that inherits from the CPP_Delegate class.

Similar Posts