TargetManager Add Targets
Add a whole list of targets to one BaseTargetManager.
Parameters
| Parameter | Description |
|---|---|
| Manager | The target manager component that will track the targets. |
| Targets | The GameObject list to add. |
| Indicator Prefab | Optional prefab override used for each target. |
Typical Use
- Build or retrieve a
GameObjectlist. - Set the manager component.
- Optionally set a shared prefab override.
- Run the action to add every valid entry in the list.
Notes
- Null entries in the list are skipped.
- This is useful for initializing a radar or minimap from a prebuilt enemy or objective list.
- For one target at a time, use Add Target.