官术网_书友最值得收藏!

Summary

In this chapter, we have extended our game framework structure by implementing and reinforcing the GameManager script by extending its code. This means that it will never be deleted, regardless of scene changes. We have also introduced the score and scenes managers, which were originally planned in our game framework. These two additional managers take responsibility away from the game manager and add additional features to your game. We ensured these scripts don't mutilate our original code (removing, overflowing, or compensating for our game manager). Your game now has a working scoring system, as well as multiple scenes that can be restarted and changed with very little code. We also introduced sound, which we'll implement in more detail in later chapters.

In the next chapter, we'll focus less on code-heavy content and instead concern ourselves with the art of the game. Even though we are programmers, we need to understand how to manipulate assets and how to animate with Unity's API. With just a little bit of coding, this will allow us to understand the connection between the editor and our script. We'll also touch on some particle effects.

Well done—you've done and covered a lot. Before we move on, have a go at the following questions. They resemble what you will encounter in your programmer exam.

主站蜘蛛池模板: 福安市| 鄂州市| 涟源市| 腾冲县| 长沙县| 新沂市| 北票市| 泉州市| 新竹县| 定兴县| 嘉定区| 麟游县| 东海县| 寻甸| 余庆县| 长兴县| 余庆县| 怀来县| 阿拉善盟| 贵港市| 馆陶县| 上犹县| 鹤壁市| 三亚市| 赤城县| 义马市| 新密市| 天柱县| 镇雄县| 峡江县| 吉林市| 建昌县| 连南| 平定县| 榆中县| 阳城县| 招远市| 四会市| 岗巴县| 毕节市| 五原县|