// Copyright Epic Games, Inc. All Rights Reserved. #pragma once #include "CoreMinimal.h" #include "Editor/UnrealEdEngine.h" #include "LyraEditorEngine.generated.h" UCLASS() class ULyraEditorEngine : public UUnrealEdEngine { GENERATED_BODY() public: ULyraEditorEngine(const FObjectInitializer& ObjectInitializer = FObjectInitializer::Get()); protected: virtual void Init(IEngineLoop* InEngineLoop) override; virtual void Start() override; virtual void Tick(float DeltaSeconds, bool bIdleMode) override; virtual FGameInstancePIEResult PreCreatePIEInstances(const bool bAnyBlueprintErrors, const bool bStartInSpectatorMode, const float PIEStartTime, const bool bSupportsOnlinePIE, int32& InNumOnlinePIEInstances) override; private: void FirstTickSetup(); bool bFirstTickSetup = false; };