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

What this book covers

Chapter 1, Getting Started with Editor Scripting, introduces you to Unity editor scripting and explains why this is useful to improve the development workflow. In this chapter, the video game, Run & Jump, which is used as a base for this book is presented.

Chapter 2, Using Gizmos in the Scene View, explains how to use gizmos to display debug information in the Scene View. Here, we implement a grid with gizmos to be used as guides in the level editor.

Chapter 3, Creating Custom Inspectors, discusses how to improve the way the Unity components and scripts are presented in the inspector window, creating custom inspectors and using property and decorator drawers. In addition to the this, you will learn how to start adding and using the editor GUI components. Here we go through the process of making a custom inspector for the class responsible for the level logic in Run & Jump.

Chapter 4, Creating Editor Windows, covers how to create an editor window to present information and interact with features in a custom tool. Using some of the editor GUI skills developed in the last chapter, we create a Palette window, which is a quick and visual way to access the prefabs used as building pieces for the video game levels, grouping them by categories.

Chapter 5, Customizing the Scene View, dives into how to add the editor GUI components directly to the Scene View and capture specific events to expand their capabilities. Step by step, we add GUI components to enable and disable different modes we are going to implement on the level editor, like View, Paint, Edit and Erase, changing the way how the user interacts with the tool.

Chapter 6, Changing the Look and Feel of the Editor with GUI Styles and GUI Skins, explains how to change the look and feel of the Unity editor custom tools. Here we finish the level editor investing our time modifying the appearance of it.

Chapter 7, Saving Data in a Persistent Way with Scriptable Objects, describes how to save data in Unity and manipulate it as a reusable asset using scriptable objects. We walk through the process of reallocate certain properties from the class responsible for the level logic to a scriptable object class, making them reusable across levels.

Chapter 8, Controlling the Import Pipeline Using Asset Postprocessor Scripts, demonstrates how to improve and control the importing pipeline using Asset Postprocessor scripts. We work in automating the process of changing the import settings of the assets imported to the project to make them usable by the video game in an easy way.

Chapter 9, Improving the Build Pipeline, discusses how to automate and improve the build creation pipeline modifying the Unity player settings through code and calling scripts outside Unity. Here, we create a basic build pipeline for Run & Jump that publishes the mobile version of it in a distribution platform called AppBlade.

Chapter 10, Distributing Your Tools, concludes this book by showing how to use Unity packages and Git submodules for custom tools distribution, suitable for sharing inside a team, and how to sell content on the Asset Store.

主站蜘蛛池模板: 仁怀市| 巢湖市| 南川市| 电白县| 台安县| 章丘市| 米林县| 文成县| 太康县| 巴东县| 类乌齐县| 通化市| 上饶市| 自治县| 得荣县| 平阴县| 抚顺市| 元江| 崇文区| 黑山县| 略阳县| 丹江口市| 大石桥市| 孟连| 改则县| 饶平县| 紫金县| 广元市| 太湖县| 保亭| 洞口县| 繁峙县| 柞水县| 龙岩市| 彭水| 金门县| 仲巴县| 双城市| 绥阳县| 昔阳县| 通山县|