UGameInstance::OnWorldChanged

Callback from the world context when the world changes

Choose your operating system:

Windows

macOS

Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/GameInstance.h

Include

#include "Engine/GameInstance.h"

Syntax

virtual void OnWorldChanged
(
    UWorld * OldWorld,
    UWorld * NewWorld
)

Remarks

Callback from the world context when the world changes