Radar System / Getting Started

The radar system can be found in the Assets/Playniax/Framework/Radar System folder.

Radar

To add a radar to the scene use the Unity menu and select: Playniax > Radar System > Radar

This will create the radar as a Unity UI object.



Size determines the display size (diameter) of the radar.

Range determines the detection range (diameter) of the radar.

Radar Renderer

To add a radar sprite to the scene use the Unity menu and select: Playniax > Radar System > Radar Sprite

Game Objects that have the RadarRenderer script attached will be displayed on the radar.



The RadarRenderer will try to inherit some properties from a SpriteRenderer if present otherwise you must set some values manually such as size, color and custom sprite.

The RadarRenderer can also be added to other game objects besides sprites but this must be done manually.

A better detailed description of the classes can be found in the Classes section.

Video of the Radar System in action:



Screenshot of a rectangular radar: