Area Selector

Maarti

(0)
$4
Publisher Maarti
File size 1.42MB
Number of files 30
Latest version 1
Latest release date 2020-02-11 04:24:14
First release date 2020-02-11 04:24:14
Supported Unity versions 2018.4.2 or higher
Unity Asset allowing to easily define zones of the world in the scene view. With this, you can patrol units, spawn objects, detect the presence in a zone and so on!

Getting Started

1. Add the "AreaSelector" script component to any GameObject
2. With the GameObject selected, you can now click on "Add New Area" button displayed on the scene view and in the component
3. This will spawn an area in scene view, near to the GameObject ; you can drag its middle handle to move its position
4. You can drag its squared handles to change its size
5. You can change it to a square or a disc, depending on your needs, using the top left buttons
6. You can add new areas to cover all the surface you want
7. You can now request a random point in this area by script, detect if a position is inside, etc...

See the included documentation for more details.

Top Publisher Assets