관리 메뉴

fatalite

언리얼 엔진 본문

게임/Unreal

언리얼 엔진

fataliteforu 2024. 2. 16. 19:14

언리얼 프로그램의 GuardedMain

GuardedMain의 흐름(윈도우)

1. PreMainInit

2. EnginePreInit

 

FEngineLoop.PreInit()

⮕ PreInitPreStartupScreen(const TCHAR* CmdLine)

모듈, 플러그인 로드, CDO 등

3. EngineInit

FEngineLoop.Init() 

Create & Start UGameEngine / UGameInstance / UViewportClient / UPlayer... / AActor

 

자세한 내용 bool FEngineLoop::AppInit( ) 

4. Tick

while(!IsEngineExitRequested()) { EngineTick(); }

⮕ FEngineLoop.Tick()

5. EngineExit();

6. return ErrorLevel;