ULocalPlayer::GetGameInstance

Get the game instance associated with this local player

Choose your operating system:

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