Game Development Reference
In-Depth Information
The collider just needs to be shaped or scaled enough so that our 2D character will collide
with it when he passes in front of the shop.
Finally, to ensure that we navigate to the new Shop scene, we need to add a new tag
named Shop and assign it to the new Shop game object, as shown in the following
screenshot:
Now, when you run the Home scene and the player runs in front of the shop, you should
get a nice new prompt in front of the shop; tapping the up arrow key will help you enter
the shop and navigate inside it, as shown in the following screenshot:
Search WWH ::




Custom Search