ULocalPlayer::GetSubsystemArray

Get all Subsystem of specified type, this is only necessary for interfaces that can have multiple implementations instanced at a time.

Windows
MacOS
Linux

References

Module

Engine

Header

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

Include

#include "Engine/LocalPlayer.h"

Syntax

template<typename TSubsystemClass>
const TArray< TSubsystemClass * > & GetSubsystemArray() const

Remarks

Get all Subsystem of specified type, this is only necessary for interfaces that can have multiple implementations instanced at a time.

Do not hold onto this Array reference unless you are sure the lifetime is less than that of ULocalPlayer

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