decaf_sux
(decaf_sux)
1
I currently use UE5 EA2 (soon to be Preview)
I have tried this:
FEditorDelegates::OnDeleteActorsBegin.AddRaw(this, &FMyModule::HandleOnDeleteActorsBegin);
But I get no callback from it
Does anyone know how I can get a callback whenever an actor is removed from the World Outliner?
decaf_sux
(decaf_sux)
2
Posting the solution that worked for me in case someone else has this issue.
It seems I had to call this method instead:
GEngine->OnLevelActorDeleted().AddRaw(this, &FMyModuleModeTool::HandleOnLevelActorDeleted);