Skip to content

Target Manager Actions

Actions for working with widget target managers such as Offscreen Indicator, Target Indicator, Radar, Image Minimap, and Tilemap Minimap.

Shared Actions

Add Target

Add one target to a manager and optionally override the prefab.

Add Targets

Add a whole list of targets to one manager.

Remove Target

Stop tracking one target.

Clear Targets

Remove all tracked targets from a manager.

Get Indicator

Get the spawned UI object or RectTransform for a tracked target.

Get Info

Read the manager camera, indicator panel, and current target count.

TargetWidget Get Info

Read target, manager, camera, and indicator panel from a spawned widget.

TargetWidget Get Target

Read only the tracked target from a spawned widget.

Image Minimap Actions

Set Origin

Set the transform used for minimap rotation.

Set Rotate With Origin

Enable or disable rotation with the origin transform.

Set Follow Target

Set the target used to center the minimap view.

Set Map Scale

Change the minimap zoom level.

Set World Bounds

Update the world-space area projected into the minimap.

Tilemap Minimap Actions

Refresh

Rebuild the rendered map texture.

Set Origin

Set the transform used for minimap rotation.

Set Rotate With Origin

Enable or disable rotation with the origin transform.

Set Follow Target

Set the target used to center the minimap view.

Set Map Scale

Change the minimap zoom level.

See also