Navigation
API > API/Plugins > API/Plugins/LearningAgents > API/Plugins/LearningAgents/ALearningAgentsManager
References
| Module | LearningAgents |
| Header | /Engine/Plugins/Experimental/LearningAgents/Source/LearningAgents/Public/LearningAgentsManager.h |
| Include | #include "LearningAgentsManager.h" |
| Source | /Engine/Plugins/Experimental/LearningAgents/Source/LearningAgents/Private/LearningAgentsManager.cpp |
UFUNCTION&40;BlueprintCallable, Category&61;"LearningAgents"&41;
void AddAgents
&40;
TArray< int32 > & OutAgentIds,
const TArray< UObject &42; > & InAgents
&41;
Remarks
Adds the given objects as an agents to the manager.
Parameters
| Name | Description |
|---|---|
| OutAgentIds | The output newly assigned agent ids |
| InAgents | The objects to be added. |