Struct AgentManagedBackupRef Extends IComponentData
Public
Copy of the agent's AgentManagedRef slot, which lets a clone find the data to clone.
Cleanup components are never copied when an entity is cloned, so AgentManagedRef alone would leave a clone with no link back to its source's data. This ordinary component is copied verbatim, and is the clone's only pointer to the data AgentManagedDataRepairSystem should clone for it.
Only agent initialization and AgentManagedDataRepairSystem read or write this component. Everything else reads the slot from AgentManagedRef, whose presence also proves ownership.