- 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.
- 自然語言處理實(shí)戰(zhàn):預(yù)訓(xùn)練模型應(yīng)用及其產(chǎn)品化
- AWS Serverless架構(gòu):使用AWS從傳統(tǒng)部署方式向Serverless架構(gòu)遷移
- 程序員面試算法寶典
- ASP.NET Core 2 and Vue.js
- Lua程序設(shè)計(jì)(第4版)
- JavaScript+Vue+React全程實(shí)例
- Spring+Spring MVC+MyBatis整合開發(fā)實(shí)戰(zhàn)
- PySide 6/PyQt 6快速開發(fā)與實(shí)戰(zhàn)
- Angular開發(fā)入門與實(shí)戰(zhàn)
- 51單片機(jī)C語言開發(fā)教程
- 移動增值應(yīng)用開發(fā)技術(shù)導(dǎo)論
- HTML5移動Web開發(fā)
- Mastering ASP.NET Core 2.0
- Clojure編程樂趣
- Moodle 3.x Developer's Guide