UWorld::GetFirstPlayerController

Choose your operating system:

Windows

macOS

Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/World.h

Include

#include "Engine/World.h"

Source

/Engine/Source/Runtime/Engine/Private/World.cpp

Syntax

APlayerController * GetFirstPlayerController() const

Returns

Returns the first player controller, or NULL if there is not one.