I am trying to call PostAkEventByNameWithDelegate, but the signature for the function is not working for me.
Can someone help?
MyAkComp->PostAkEventByNameWithDelegate( EventName, AkCallbackType::AK_EndOfEvent, &UMyClass::OnDialogEventComplete );
The signature for my OnDialogEventComplete function is:
UFUNCTION()
void OnDialogEventComplete( EAkCallbackType CallbackType, class UAkCallbackInfo* CallbackInfo );