Book Image

Extending Unity with Editor Scripting

Book Image

Extending Unity with Editor Scripting

Overview of this book

Table of Contents (18 chapters)
Extending Unity with Editor Scripting
Credits
Foreword
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Overview


The GUIStyle and GUISkin classes allow us to modify the look and feel of our GUI components.

These classes were originally used to customize the GUI of a video game developed in previous versions of Unity. After 4.6, and with the inclusion of a better UI system, their use refocused to helping with the customization of the Editor GUI. These two classes give the developers enough flexibility to make their tools look "professional" and have their own identity.

Defining the chapter goals

In this chapter, we will use the GUIStyle and GUISkin classes to modify the look and feel of the Level Creator tool.

The goals here are:

  • Modifying the look and feel of the Level custom inspector to make clear the different sections it has

  • Modifying the look and feel of the Palette window to make the top buttons (toolbar) look more like tabs

The final result will look like this: