AController::GameHasEnded

Called from game mode upon end of the game, used to transition to proper state.

Windows
MacOS
Linux

Override Hierarchy

AController::GameHasEnded()

APlayerController::GameHasEnded()

References

Module

Engine

Header

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

Include

#include "GameFramework/Controller.h"

Source

/Engine/Source/Runtime/Engine/Private/Controller.cpp

Syntax

virtual void GameHasEnded
(
    class AActor * EndGameFocus,
    bool bIsWinner
)

Remarks

Called from game mode upon end of the game, used to transition to proper state.

Parameters

Parameter

Description

EndGameFocus

Actor to set as the view target on end game

bIsWinner

true if this controller is on winning team

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