USubsystemBlueprintLibrary::GetLocalPlayerSubsystem

Get a Local Player Subsystem from the Local Player associated with the provided context

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/Subsystems/SubsystemBlueprintLibrary.h

Include

#include "Subsystems/SubsystemBlueprintLibrary.h"

Source

/Engine/Source/Runtime/Engine/Private/Subsystems/SubsystemBlueprintLibrary.cpp

Syntax

static ULocalPlayerSubsystem * GetLocalPlayerSubsystem
(
    UObject * ContextObject,
    TSubclassOf< ULocalPlayerSubsystem > Class
)

Remarks

Get a Local Player Subsystem from the Local Player associated with the provided context

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