Unreal Engine Version: 4.27.2-18319896+++UE4+Release-4.27
Does anyone know how to include ALevelSequenceActor in a .CPP file, I did not enter the form, it shows me an error…
The issue is that I want to handle the levelsequence from C++ but I can’t find a way to include the library.
I mean I include it like this.
code:
#include <LevelSequence/Public/LevelSequenceActor.h>
and if i want to do this
Error in ALevelSequenceActor::StaticClass().
Code:
|TArray< AActor*> level_Sequences;
||UGameplayStatics::GetAllActorsOfClass(GetWorld(), ALevelSequenceActor::StaticClass(), level_Sequences);
I also included in Build.Cs LevelSequenceActor, but it doesn’t work.
And this is a weird include error that appears in LevelSequenceActor.h
I also cannot declare a pointer of type ALevelSequenceActor