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

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.

主站蜘蛛池模板: 五指山市| 雅安市| 大丰市| 祥云县| 沁阳市| 西丰县| 鄂托克前旗| 土默特左旗| 松潘县| 香格里拉县| 筠连县| 仁寿县| 察雅县| 山阴县| 纳雍县| 青海省| 达孜县| 临汾市| 吴江市| 大悟县| 郴州市| 耿马| 娄烦县| 淅川县| 自贡市| 淄博市| 九江市| 内乡县| 商水县| 新兴县| 西和县| 房产| 合肥市| 宣城市| 安远县| 茂名市| 高尔夫| 大方县| 光泽县| 海阳市| 苍山县|