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

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.

主站蜘蛛池模板: 西乌珠穆沁旗| 平顶山市| 文成县| 繁昌县| 新河县| 乌拉特前旗| 六枝特区| 高台县| 临桂县| 西乌珠穆沁旗| 随州市| 潮安县| 南阳市| 卢龙县| 台山市| 淄博市| 石河子市| 墨江| 安宁市| 迁西县| 娄烦县| 淮安市| 即墨市| 扎鲁特旗| 大英县| 独山县| 河北区| 会理县| 广宗县| 武山县| 明光市| 延庆县| 卢湾区| 丹凤县| 濮阳市| 灵武市| 龙泉市| 雷州市| 安宁市| 林芝县| 汉阴县|