Beginning Unity Editor Scripting: Create and Publish Your Game Tools
暫譯: Unity 編輯器腳本入門:創建與發佈你的遊戲工具

Kok, Benny

  • 出版商: Apress
  • 出版日期: 2021-07-21
  • 售價: $2,350
  • 貴賓價: 9.5$2,233
  • 語言: 英文
  • 頁數: 263
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1484271661
  • ISBN-13: 9781484271667
  • 相關分類: 遊戲引擎 Game-engine
  • 海外代購書籍(需單獨結帳)

買這商品的人也買了...

相關主題

商品描述

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 for themselves. Moderate experience with C# and a fundamental knowledge of Unity is expected.


商品描述(中文翻譯)

學習 Unity 中的編輯器腳本,包括不同的編輯器自訂方法,以適應您的自訂遊戲工作流程,甚至創建可以在資產商店上發佈以賺取被動收入的資產。雖然編輯器腳本的知識在書籍中很少被涵蓋,但它能讓遊戲開發者深入了解 Unity 的內部運作,您可以利用這些知識來創建自訂工具,實現您獨特的遊戲構想。

本書從 Unity 中編輯器腳本的基本概念開始,例如使用內建屬性來自訂組件的編輯器,以及使用 IMGUI 和 UI Toolkit 創建自訂編輯器和視窗。接下來,我們將通過為場景視圖創建一個物件生成器 EditorTool 來進行一般使用案例的示範。之後,我們將深入探討兩個 Unity 資產的詳細統計數據和案例研究:ProArray 和 Rhythm Game Starter。在這裡,您將獲得有關編輯器腳本在已發佈資產中如何使用的更多背景資訊。

您還將學習如何為編輯器腳本、資產發佈、維護和迭代更新設置更好的工作流程。您將利用現代網路技術的力量,使用 GitBook 和 DocFX 建立文檔網站。最後,您將看到一些自動化資產版本控制和變更日誌的技巧和竅門。

您將學到什麼


  • 開始使用 Unity 中的編輯器腳本

  • 處理進階編輯器主題,例如自訂 EditorWindows 和 EditorTool

  • 使用命名空間和 asmdef 結構化您的 C# 代碼

  • 使用 IMGUI 和 UI Toolkit 創建編輯器 GUI

  • 掌握打包和銷售您自己的編輯器工具

  • 為資產發佈、維護和迭代更新設置更好的工作流程

本書適合誰

希望學習編輯器腳本以改善其遊戲開發過程並為自己創建工具的讀者。預期具備中等的 C# 經驗和基本的 Unity 知識。

作者簡介

BennyKok is primarily a Unity asset publisher, indie game developer, and music producer. He is a creative individual who loves creating tools for Unity and published ProArray and Rhythm Game Starter on the Unity Asset Store. He also dedicates his time to sharing open-source Unity tools on GitHub for the community.

作者簡介(中文翻譯)

BennyKok 主要是一位 Unity 資產發行商、獨立遊戲開發者和音樂製作人。他是一位富有創意的人,熱愛為 Unity 創建工具,並在 Unity 資產商店上發佈了 ProArray 和 Rhythm Game Starter。他還致力於在 GitHub 上分享開源的 Unity 工具,為社群貢獻力量。