Creating the markers
Generally, when developers prototype a game or game scene, they ignore the details of esthetics and just use some ugly marker. That typically works until something better is provided by the design team. Well, since we don't have a design team now, we will instead go ahead and create a better-looking marker. This will especially be a good exercise when we go to create other objects later in the book.
Drag the Map scene back into the Hierarchy window and perform the following instructions to create an updated PlaceMarker
:
- Locate and select the
PlaceMarker
object we left in the Map scene and reactivate it by checking the box beside the name in the Inspector window. - Select the
Cylinder
object and rename itBase
. In the Inspector window, set the objects Transform | Scale to X=.4
, Y=.1
, Z=.4
, and Transform | Position to X=0, Y=-.5, Z=0. Remove the Capsule Collider component by clicking on the gear icon beside the component and selecting Remove Component. - Right-click (press Ctrl...