-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating
Unity 5.x By Example
By :
The collection game is making excellent progress. We now have something playable insofar as we can run around and explore the environment in the first person. However, the environment could benefit from additional polish. Right now, for example, the floor meshes appear suspended in mid-air with nothing beneath them to offer support. It's also possible to walk over the edge and fall into an infinite drop. And there's a distinct lack of coins in our collectible coin game. We'll fix both of these issues in this chapter, starting with adding a water plane to support the islands.
To add water, we can use another ready-made Unity asset included in the Project panel:
Standard Assets/Environment/Water/Water/Prefabs folder.WaterProDaytime asset from the Project panel into the scene. This appears as a circular object, which is initially smaller than needed:Figure 1.40 – Adding water to...