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")
int32 AddAgent
(
UObject * Agent
)
Remarks
Adds the given object as an agent to the manager. The agent's newly assigned id.
Parameters
| Name | Description |
|---|---|
| Agent | The object to be added. |