ULocalPlayer::GetGameInstance

Get the game instance associated with this local player

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/LocalPlayer.h

Include

#include "Engine/LocalPlayer.h"

Source

/Engine/Source/Runtime/Engine/Private/LocalPlayer.cpp

Syntax

UGameInstance * GetGameInstance() const

Remarks

Get the game instance associated with this local player

Returns

GameInstance related to local player

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