AGameModeBase::K2_OnSwapPlayerControllers

Called when a PlayerController is swapped to a new one during seamless travel

Windows
MacOS
Linux

References

Module

Engine

Header

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

Include

#include "GameFramework/GameModeBase.h"

Syntax

void K2_OnSwapPlayerControllers
(
    APlayerController * OldPC,
    APlayerController * NewPC
)

Remarks

Called when a PlayerController is swapped to a new one during seamless travel

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