Navigation
API > API/Plugins > API/Plugins/LearningAgents > API/Plugins/LearningAgents/ULearningAgentsManager
Description
Resets the agent with the given id on the manager. Used to tell components to reset any state associated with this agent.
| Name | ResetAgent |
| Type | function |
| Header File | /Engine/Plugins/Experimental/LearningAgents/Source/LearningAgents/Public/LearningAgentsManager.h |
| Include Path | #include "LearningAgentsManager.h" |
| Source | /Engine/Plugins/Experimental/LearningAgents/Source/LearningAgents/Private/LearningAgentsManager.cpp |
UFUNCTION (BlueprintCallable, Category="LearningAgents", Meta=(AgentId="-1"))
void ResetAgent
(
const int32 AgentId
)
Parameters
| Name | Remarks |
|---|---|
| AgentId | The id of the agent to reset. |