Game Development Reference
In-Depth Information
If we take a look at the
Hierarchy
view, we will see something similar to the fol-
lowing screenshot:
12. Next, we will click on
WaypointsContainer
and go to its
Inspector
view, set
Size
under the
Waypoints
property to
6
, and drag all the
Waypoint
objects to the
Waypoints
array in the
Inspector
view, as the shown in the following screenshot:
13. Then, if we click on
WaypointsContainer
and go to its
Inspector
view, we will
see the
Is Random
property. We can toggle it
On
or
Off
to enable the random