Finishing touches
Now that we have our GameBall Prefab and our layers and Tags are set up, we can finish our skee
Prefab by carrying out the following mention changes:
- skee:Click on the root
skee
object. Change its tag toSkee
and its layer toSpatialMapping Collision
. When the dialog asks if you would like to change the children as well, chooseNo, this object only.
The reason for this choice is that some of the children need to have different collision options. - ScoreBoard:Go to
skee
|UI
|ScoreBoard
and change the tag toScoreBoard
. - SkeeSpawner:Go to
skee
|UI
|SkeeSpawner
and drag theGameBall
Prefab from the Project view to theSkeeBall Prefab
box in theSkeeSpawner
component:
- BallSpawnPoint: Change the Tag to
Spawn Point
and Layer to SkeeBall.
With that, select the root skee
object and hit Apply
in the Inspector
. This will save all the changes that have been made. Once that is accomplished, select skee in the Hierarchy
view again and hit the Delete key.
Updating Placeskee ballMachine
We need...