- Unity Certified Programmer:Exam Guide
- Philip Walker
- 204字
- 2021-06-18 18:30:10
Summary
We have reached the end of this chapter, and we have conquered the majority of our game framework, as we can see in the following diagram:

We have created a game framework that would need only a few changes if we added 1 or 1,000 more enemies to our game. Some of the benefits of this use of reusable code and ScriptableObject is that it will benefit non-programmers, save time, and prevent collaborators from being bogged down in the code.
We have also made it so that if and when we want to add more EnemySpawner points, we can drag and drop more prefabs into our scene and update its ScriptableObject to change the enemy without coding in exact Vector3 locations.
We've covered other common Unity features including instantiating game objects such as enemies and player bullets.
In the next chapter, we will be covering the following scripts:
- ScoreManager: When an enemy is destroyed, the player will receive a score.
- ScenesManager: If the player dies, one life will be deducted; if the player loses all of their lives, the level will reset.
- Sounds: Our ships and bullets will also have added sounds.
Finally, we will be updating the overall structure of our code.
- MySQL數(shù)據(jù)庫管理實(shí)戰(zhàn)
- Instant Testing with CasperJS
- C# 7 and .NET Core Cookbook
- PyQt從入門到精通
- C#程序設(shè)計(jì)教程
- oreilly精品圖書:軟件開發(fā)者路線圖叢書(共8冊)
- Git高手之路
- 零基礎(chǔ)學(xué)Python網(wǎng)絡(luò)爬蟲案例實(shí)戰(zhàn)全流程詳解(入門與提高篇)
- Learning iOS Security
- Django Design Patterns and Best Practices
- Android Sensor Programming By Example
- Mastering ArcGIS Server Development with JavaScript
- H5頁面設(shè)計(jì)與制作(全彩慕課版·第2版)
- 現(xiàn)代JavaScript編程:經(jīng)典范例與實(shí)踐技巧
- Learning Google Apps Script