I’m trying to add EndPIE Delegate but keep getting an error compiling:
#include "Editor.h"
FDelegateHandle EndPIEdelegate = FEditorDelegates::EndPIE.AddUObject(this, &AMyPlayerController::DoEndPIE);
void AMyPlayerController::DoEndPIE(bool boolSent) {
clearTextures();
}
I get the following error:
Severity Code Description Project File Line Suppression State
Error LNK2001 unresolved external symbol "__declspec(dllimport) public: static class TMulticastDelegate<void,bool const > FEditorDelegates::EndPIE" (__imp_?EndPIE@FEditorDelegates@@2V?$TMulticastDelegate@X$$CB_N@@A) Jigsaw C:\Users\TV2\Documents\Unreal Projects\Jigsaw\Intermediate\ProjectFiles\MyPlayerController.cpp.obj 1