Navigation
API > API/Plugins > API/Plugins/LearningAgents > API/Plugins/LearningAgents/ULearningAgentsManager
Description
Resets the agents with the given ids on the manager. Used to tell components to reset any state associated with this agent.
| Name | ResetAgents |
| 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")
void ResetAgents
(
const TArray < int32 > & AgentIds
)
Parameters
| Name | Remarks |
|---|---|
| AgentIds | The ids of the agents to reset. |