UGameInstance::ReturnToMainMenu

Syntax

virtual void ReturnToMainMenu()

Remarks

Calls HandleDisconnect on either the OnlineSession if it exists or the engine, to cause a travel back to the default map. The instance must have a world.

References

Module

Engine

Header

Runtime/Engine/Classes/Engine/GameInstance.h

Source

Runtime/Engine/Private/GameInstance.cpp