Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Plugins/Runtime/MassGameplay/Source/MassRepresentation/Public/MassRepresentationSubsystem.h |
Include |
#include "MassRepresentationSubsystem.h" |
Source |
/Engine/Plugins/Runtime/MassGameplay/Source/MassRepresentation/Private/MassRepresentationSubsystem.cpp |
int16 FindOrAddTemplateActor
(
const TSubclassOf< AActor > & ActorClass
)
Store the template actor uniquely and return an index to it
The index of the template actor type
Parameter |
Description |
---|---|
ActorClass |
is a template actor class we will need to spawn for an agent |