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

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.

主站蜘蛛池模板: 鱼台县| 土默特右旗| 临洮县| 大连市| 永顺县| 五家渠市| 五峰| 山西省| 东安县| 双牌县| 湛江市| 丹棱县| 沈丘县| 革吉县| 阿城市| 大田县| 满洲里市| 漳平市| 沙湾县| 昌邑市| 黑山县| 吴江市| 凉城县| 永年县| 灵宝市| 乐业县| 新野县| 元朗区| 余姚市| 芮城县| 皋兰县| 蒙城县| 明星| 鸡泽县| 长丰县| 康平县| 中超| 紫阳县| 庆阳市| 山阴县| 虎林市|