Game Development Reference
In-Depth Information
5. Now create a new prefab in the Prefab folder of the Project panel and name
it Barrier , then drag the GameObject containing the Brick instances into
it.
6. You can now delete the GameObject with the Brick instances from the
scene and put the Barrier prefab in its place. You actually need four barri-
ers on top of the player's ship, as shown in the following screenshot. Please
ensure that the barriers are positioned at the same Z value of both the play-
er's ship and the aliens in the swarm.
Search WWH ::




Custom Search