Game Development Reference
In-Depth Information
7. To add the tag to the
LeftBound
game object, select it and in the
Tag
drop-down menu, you should now be able to select the newly created
levelBound
tag.
8. To complete this part of the tutorial, we need a second bound to be added
to the
Scene
. With the
LeftBound
game object selected, press
Ctrl
+
D
to
duplicate it. Name the newly-created game object
RightBound
and set its
X
coordinate to
20
, then add the
levelBound
tag to
RightBound
too.
The following screenshot shows a reference of what you should have in your
scene by now: