Language:
Discover
By Skill Level
By Category

UWorld::GetFirstLocalPlayerFromController

Choose your OS:

Syntax

ULocalPlayer * GetFirstLocalPlayerFromController()

Remarks

Get the first valid local player via the first player controller.

Pointer to the first valid ULocalPlayer , or NULL if there is not one.

Returns

Pointer to the first valid ULocalPlayer , or NULL if there is not one.

References

Module

Engine

Header

Runtime/Engine/Classes/Engine/World.h

Source

Runtime/Engine/Private/World.cpp