Navigation
API > API/Plugins > API/Plugins/LearningAgents > API/Plugins/LearningAgents/ULearningAgentsManager
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 (BlueprintCallable, Category="LearningAgents")
void AddAgents
(
TArray < int32 > & OutAgentIds,
const TArray < UObject * > & InAgents
)
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. |