ULocalPlayer::GetSubsystemArray

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

Choose your operating system:

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