SUCIALISM

Logo

Hello, my name is John Su. Welcome to my homepage. I'm a senior technical director, technical artist, game engineer, VFX artist, and art-lover.

View My GitHub Profile

21 February 2024

Use Delegate With Blueprint

by John

Firstly, declare it with dynamic multicast:

	DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam(FElevatorReadyToGoSignature, int, ElevatorIdx);

Then, make sure to use BlueprintAssignable in the specifier:

UPROPERTY(BlueprintAssignable, Category = "Elevator")
		FElevatorArrivalSignature ArrivalDelegates;

I made a full example with my Elevator System.

views: tags: UE - c++