Beginning Unity Editor Scripting
eBook - ePub

Beginning Unity Editor Scripting

Create and Publish Your Game Tools

  1. English
  2. ePUB (mobile friendly)
  3. Available on iOS & Android
eBook - ePub

Beginning Unity Editor Scripting

Create and Publish Your Game Tools

About this book

Learn about editor scripting in Unity, including different possible methods of editor customization to fit your custom game workflow or even to create assets that could be published on the Asset Store to earn a passive income.The knowledge of editor scripting, although rarely covered in books, gives a game developer insight into how things work in Unity under the hood, which you can leverage to create custom tools that empower your unique game idea.

This book starts with the very basics of editor scripting in Unity, such as using built-in attributes to customize your component's editor and creating custom editors and windows with IMGUI and UI Toolkit. Next, we move to a general use case example by creating an object spawner EditorTool for the scene view. Later, we dive straight to in-depth stats and detailed case studies of two Unity assets: ProArray and Rhythm Game Starter. Here you'll get more context on how editor scripting is used in published assets.

You will also learn how to set up a better workflow for editor scripting, asset publishing, maintenance, and iterative updates. You will leverage the power of modern web technology to build a documentation site with GitBook and DocFX. Finally, you will see some tips and tricks for automating asset versioning and changelogs.

What You Will Learn

  • Get started with Editor scripting in Unity
  • Work with advanced editor topics such as custom EditorWindows and EditorTool
  • Structure your C# code with namespaces and asmdef
  • Use IMGUI and UI Toolkit for creating editor GUIs
  • Master packaging and selling your own editor tools
  • Set up a better workflow for asset publishing, maintenance, and iterative updates

Who This Book Is For

Readers who want to learn about editor scripting to improve their game-development process and create tools forthemselves. Moderate experience with C# and a fundamental knowledge of Unity is expected.

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription.
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Yes! You can use the Perlego app on both iOS or Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
Yes, you can access Beginning Unity Editor Scripting by Benny Kok in PDF and/or ePUB format, as well as other popular books in Computer Science & Computer Science General. We have over one million books available in our catalogue for you to explore.

Information

Table of contents

  1. Cover
  2. Front Matter
  3. 1. Getting Started
  4. 2. Customizing the Editor with Attributes and Callbacks
  5. 3. Custom Editor with IMGUI
  6. 4. Custom Editor with UI Toolkit
  7. 5. Object Spawner Tool Using EditorTool and ScriptableObject
  8. 6. Case Study: ProArray
  9. 7. Case Study: Rhythm Game Starter
  10. 8. Asset Workflow for Publishing
  11. 9. Package Distribution and Publishing
  12. 10. Conclusion
  13. Back Matter