© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2021
B. KokBeginning Unity Editor Scriptinghttps://doi.org/10.1007/978-1-4842-7167-4_5

5. Object Spawner Tool Using EditorTool and ScriptableObject

Benny Kok1  
(1)
Hong Kong, China
 

In this chapter, you are going to create a little object spawner editor tool to learn how editor scripting with IMGUI can be applied in a practical scenario and to explore some advanced editor topics such as EditorTool and ScriptableObject in this context.

Here are the key editor classes and terms used in the editor tool project:
  • EditorTool (custom tools for scene view like move, rotate, scale)

  • Handles (3D and 2D drawing and control in scene view)

  • ScriptableObject (used for data storage ...

Get Beginning Unity Editor Scripting: Create and Publish Your Game Tools now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.