How to use FCoreDelegates::ApplicationWillTerminateDelegate (Solved)

Hello everyone
can someone help me with this (by example please)
how do i bind to FCoreDelegates::ApplicationWillTerminateDelegate
thanks

anyone ?

Solved :

h file
UFUNCTION(BlueprintImplementableEvent,BlueprintCallable,Category = “Application Event”)
void OnApplicationWillTerminate();

cpp file beginplay or init or anyother
FCoreDelegates::ApplicationWillTerminateDelegate.AddUObject(this,&ATestmobileProjectCharacter::OnApplicationWillTerminate);

1 Like