Game Development Reference
In-Depth Information
Scale
X
:
1
,
Y
:
1
, and
Z
:
1
We can click on the little gear in the
Inspector
view and choose
Reset
to reset all
to the default positions, as shown in the following screenshot:
10. Next, we need to create a waypoint. Let's create a new empty game object again.
Go to
GameObject
|
Create Empty
to create the empty game object, name it
Waypoint
, and drag the
Waypoint
script to it. Then, we drag this object inside
WaypointsContainer
, which we already have in the scene, and reset its trans-
form position as
X
to
0
,
Y
to
0
, and
Z
to
0
. We will see something similar to the
following screenshot: