TargetManager Add Target
Add one target to a BaseTargetManager, such as an Offscreen Indicator, Target Indicator, Radar, or Tilemap Minimap.
Parameters
| Parameter | Description |
|---|---|
| Manager | The target manager component that will track the target. |
| Target | The GameObject to track. |
| Indicator Prefab | Optional prefab override. If empty, the manager uses its default prefab. |
Typical Use
- Reference the manager component you want to use.
- Set the target
GameObject. - Optionally override the prefab.
- Run the action to spawn and register the widget.
Notes
- If
ManagerorTargetis missing, the action does nothing. - Re-adding an already tracked target updates its style and reactivates it instead of spawning a duplicate.
- See the Target Managers Guide for setup examples.