Navigation
API > API/Plugins > API/Plugins/MassActors > API/Plugins/MassActors/UMassAgentSubsystem
Description
Removes given AgentComp instance from the system. If there's an entity created with the AgentComp instance then it will be destroyed.
| Name | UnregisterAgentComponent |
| Type | function |
| Header File | /Engine/Plugins/Runtime/MassGameplay/Source/MassActors/Public/MassAgentSubsystem.h |
| Include Path | #include "MassAgentSubsystem.h" |
| Source | /Engine/Plugins/Runtime/MassGameplay/Source/MassActors/Private/MassAgentSubsystem.cpp |
void UnregisterAgentComponent
(
UMassAgentComponent & AgentComp
)
Parameters
| Name | Remarks |
|---|---|
| AgentComp | the component to unregister from the system |