Hello!
I try to call a GetSelectedKeys() function in FSequencerSelection but I always get an unresolved external symbol error when compiling. Here is example:
TSharedPtr<ISequencer> UAIGameCoreEditorSubsystem::GetSequencer(ULevelSequence* LevelSequence)
{
UAssetEditorSubsystem* AssetEditorSubsystem = GEditor->GetEditorSubsystem<UAssetEditorSubsystem>();
IAssetEditorInstance* AssetEditor = AssetEditorSubsystem->FindEditorForAsset(LevelSequence, true);
FLevelSequenceEditorToolkit* SequenceEditorToolkit = (FLevelSequenceEditorToolkit*)AssetEditor;
return SequenceEditorToolkit->GetSequencer();
}
auto tmp = GetSequencer(CurrentLevelSequence.Get())->GetSelection()
.GetSelectedKeys(); // notwork
I have added Sequencer to the build UE version is 5.2. Is there any solution?
Thank you.