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

Summary

At this point, you should be familiar with Unity's GUI system including GUI Skins, GUI Styles, and a variety of GUI functions.

In this chapter, we learned all about the GUI by creating a Tic-tac-toe game. We first became familiar with drawing buttons and the like to the GUI. After delving into the depths and gaining understanding of GUI Styles and GUI Skins, we applied the knowledge to make our game look even better. The game continued to improve when we added some dynamic positioning to our GUI elements. The opening and closing screens became centered, while the game board dynamically scaled to fill the screen. Finally, we explored an alternative build method for putting our game onto devices.

In the next chapter, we will be starting a new and more complex game. The Tank Battle game that we will be creating will be used to gain understanding with the basic building blocks of any game: meshes, materials, and animations. When all is done, we will be able to drive a tank around a colorful city and shoot animated targets.

主站蜘蛛池模板: 加查县| 凤城市| 沽源县| 卢湾区| 武威市| 陈巴尔虎旗| 广灵县| 南通市| 开封市| 山西省| 修武县| 清流县| 即墨市| 开江县| 西昌市| 黄龙县| 治多县| 怀化市| 绩溪县| 怀化市| 喜德县| 库车县| 佛山市| 驻马店市| 新巴尔虎右旗| 丰原市| 武安市| 丹巴县| 湟中县| 札达县| 百色市| 肇州县| 绿春县| 阆中市| 灵山县| 琼结县| 永和县| 阿拉尔市| 类乌齐县| 北票市| 广南县|