In this chapter, I will talk about the simplest way to customize your inspector experience in Unity. Starting from a simple C# PlayerBehaviour script as an example, I will walk you through the customization process by using the built-in C# PropertyAttribute in Unity. Next, I will talk about other useful attributes and some editor messages for MonoBehaviour that are useful for editor scripting.
2. Customizing the Editor with Attributes and Callbacks
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.