Unityxyz
002-Introductory Exercise
1.1 Introduction
Let us build a couple of inspectors that will brush up our concepts on custom editors and editor scripting
1.2 Custom Editor Exercises
1. Open the 002 folder and then open up the customEditor Folder.
2. Here you will find three scripts-Leopard,Tiger and Whale
3. Your task is to build a custom editor for each of these classes.
​
1.3 Building Custom Editors
1. Let us build three custom editors for each of the monobehaviour scripts
2. For Leopard let us build LeopardEditor
3. For Tiger let us build TigerEditor
4. For Whale let us build WhaleEditor
For each of these classes make them inherit from the Editor with CustomEditor(classname
2.0 Building Editor Windows
1. In this exercise we are going to be building two editor windows
a. Build MySecondEditor class that inherits from EditorWindow and is at location "MyEditors/MySecondEditor"
b. Build MyThirdEditor class that inherits from EditorWindow and is at location "MyEditors/MyThirdEditor"
We have successfully added two editor windows using the above scripts.​