AGameMode::PreCommitMapChange

Called from CommitMapChange before unloading previous level. Used for asynchronous level streaming

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/GameFramework/GameMode.h

Include

#include "GameFramework/GameMode.h"

Source

/Engine/Source/Runtime/Engine/Private/GameMode.cpp

Syntax

virtual void PreCommitMapChange
(
    const FString & PreviousMapName,
    const FString & NextMapName
)

Remarks

Called from CommitMapChange before unloading previous level. Used for asynchronous level streaming

Parameters

Parameter

Description

PreviousMapName

Name of the previous persistent level

NextMapName

Name of the persistent level being streamed to

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss