Beginning Unity Editor Scripting
eBook - ePub

Beginning Unity Editor Scripting

Create and Publish Your Game Tools

  1. English
  2. ePUB (mobile friendly)
  3. Only available on web
eBook - ePub

Beginning Unity Editor Scripting

Create and Publish Your Game Tools

Book details
Table of contents
Citations

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

Simply head over to the account section in settings and click on “Cancel Subscription” - it’s as simple as that. After you cancel, your membership will stay active for the remainder of the time you’ve paid for. Learn more here.
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.
Both plans give you full access to the library and all of Perlego’s features. The only differences are the price and subscription period: With the annual plan you’ll save around 30% compared to 12 months on the monthly plan.
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 access Beginning Unity Editor Scripting by Benny Kok in PDF and/or ePUB format, as well as other popular books in Computer Science & Programming Games. We have over one million books available in our catalogue for you to explore.

Information

Publisher
Apress
Year
2021
ISBN
9781484271674

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