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

Adding and Manipulating Objects

In the previous chapter, we discussed the importance of the Official Unity Programmer exam and what benefits it can produce for any developer who is looking to reassure either themselves or others in understanding programming in Unity. We also discussed the building blocks of being a programmer in general and our game's design brief.

As we are programmers working on a game engine, it is likely you will be working for a range of industries. In many of these industries, you will be issued with a technical brief/documentation (well, you should be!) for building the application. With this project, we are making a game and the game design brief is effectively the blueprint for making this game. In this chapter, we will be applying the majority of our code, game objects, prefabs, and more, based on the guidance of the brief and the game framework. We will be reminding ourselves of the brief and game framework during this chapter and will transfer specific information across into our code.

With regard to our code, we will be covering the importance of interfaces and scriptable objects to help structure and uniform our code to help it from bloating unnecessarily, which we covered in Chapter 1, Setting Up and Structuring Our Project with SOLID principles. We will also be getting used to the Unity editor and becoming familiar with game objects, prefabs, and importing three-dimensional models to animate.

In this chapter, we'll be covering the following topics:

  • Setting up our Unity project
  • Introducing our interface (IActorTemplate)
  • Introducing our ScriptableObject (SOActorModel)
  • Setting up our Player, PlayerSpawner, and PlayerBullet scripts
  • Planning and creating our enemy
  • Setting up our EnemySpawner and enemy script

The next section will outline the exam objectives covered in this chapter.

主站蜘蛛池模板: 常宁市| 茂名市| 宝应县| 潞城市| 读书| 绵竹市| 内乡县| 图木舒克市| 丹江口市| 高安市| 海晏县| 田林县| 略阳县| 兴隆县| 淄博市| 广饶县| 高要市| 义乌市| 津南区| 景东| 台北县| 望谟县| 信宜市| 东光县| 陆川县| 平陆县| 桂东县| 玉树县| 嘉兴市| 综艺| 丰宁| 平泉县| 鹰潭市| 固始县| 蓝田县| 西丰县| 珲春市| 海原县| 阿合奇县| 永兴县| 昌都县|