Chapter 4. Creating Editor Windows
Most of the interactions you have with Unity when you use the Scene View, Game View, or Project browser will be across editor windows. When you need to have some kind of interaction that is not directly related to one specific object instance, the usage of a editor window feels more natural compared to a custom inspector.
Unity allows you to create editor windows using the EditorWindow
class, giving you an alternative way to create user interfaces for your tools.
Here, you will learn how to create an editor window and customize it to build a Palette to display the level piece prefabs available in Run & Jump in order to be used by the Level Creator.
In this chapter, we will cover the following topics:
The
EditorWindow
classThe
AssetDatabase
classC# events