Navigation
API > API/Plugins > API/Plugins/LearningAgents > API/Plugins/LearningAgents/ULearningAgentsAction
References
| Module | LearningAgents |
| Header | /Engine/Plugins/Experimental/LearningAgents/Source/LearningAgents/Public/LearningAgentsActions.h |
| Include | #include "LearningAgentsActions.h" |
| Source | /Engine/Plugins/Experimental/LearningAgents/Source/LearningAgents/Private/LearningAgentsActions.cpp |
virtual void OnAgentsAdded
&40;
const TArray< int32 > & AgentIds
&41;
Remarks
Called whenever agents are added to the associated ULearningAgentsInteractor object.
Parameters
| Name | Description |
|---|---|
| AgentIds | Array of agent ids which have been added |