NGUI for Unity (Paperback)
暫譯: Unity 的 NGUI (平裝本)
Charles Bernardoff
- 出版商: Packt Publishing
- 出版日期: 2014-01-26
- 售價: $1,660
- 貴賓價: 9.5 折 $1,577
- 語言: 英文
- 頁數: 182
- 裝訂: Paperback
- ISBN: 1783558660
- ISBN-13: 9781783558667
-
相關分類:
遊戲引擎 Game-engine、使用者介面 UI
海外代購書籍(需單獨結帳)
買這商品的人也買了...
相關主題
商品描述
The NGUI plugin for Unity makes user interfaces so much more efficient and attractive. Learn all about it in this step-by-step tutorial that includes lots of practical exercises, including creating a fun 2D game.
Overview
- Acquire complete knowledge of every component of NGUI
- Design and customize a fully functional main menu aided by step by step instructions
- Create an exciting 2D sci-fi game
In Detail
NGUI is an effective plugin for Unity that gives you the power to create beautiful and complex user interfaces while reducing performance costs. It is a powerful UI system and event notification framework for Unity (both Pro and Free) written in C# featuring clean code and a simple, minimalistic approach to everything. You can create a main menu for your game and add sliders, animations, checkboxes, and popup lists, as well as localize your text.
This is an example-oriented, step-by-step, practical tutorial that will guide you through creating a fully functional main menu along with a 2D game. You will acquire the knowledge to create user interfaces for your existing and future PC or mobile games developed with Unity 3D. The book will start by teaching you the basic functions of the tools and how to create a basic UI. Later in the book, you will also learn how to create a much more complex UI.
This book will start by getting you acquainted with NGUI's workflow and will then gradually take you through building a complex menu and creating a 2D game.
To achieve this, you will create and configure text labels, sliders, and checkboxes along with drag-and-drop systems. You will be exposed to advanced topics like C# with NGUI, and you will also learn how to build a scrollable viewport. By the end of this book, you will have acquired all the knowledge you need to create UIs with the help of practical steps supported by screenshots.
What you will learn from this book
- Download and import NGUI
- Construct a basic user interface: buttons, sprites, text inputs, lists, sliders, and more
- Enhance your UI using clipping, draggable panels, content alignment, animations, and localization
- Use C# with NGUI to save options, implement volume modification, launch animations, and change variables
- Build a scrollable viewport with a drag-and-drop system
- Create tooltips and notifications
- Add your sprites and fonts to customize your main menu
- Move elements through code and handle collisions to create a game
Approach
An easy-to-follow, step-by-step tutorial focusing on practical situations and manipulations, guiding you to create a concrete Graphical User Interface and a simple 2D game.
Who this book is written for
If you are a Unity 3D developer looking forward to learn NGUI for Unity, then this book is for you. Prior knowlege of C# scripting is expected. Additional knowledge of Unity 3D Editor, GameObject and creating/adding scripts to GameObject would be beneficial; however, no prior knowledge of NGUI is required.
商品描述(中文翻譯)
NGUI 插件為 Unity 提供了更高效且吸引人的使用者介面。透過這個逐步教學,您將學到許多實用的練習,包括創建一個有趣的 2D 遊戲。
**概述**
- 獲得 NGUI 每個組件的完整知識
- 根據逐步指導設計和自訂一個功能完整的主選單
- 創建一個令人興奮的 2D 科幻遊戲
**詳細內容**
NGUI 是一個有效的 Unity 插件,讓您能夠創建美觀且複雜的使用者介面,同時降低性能成本。它是一個強大的 UI 系統和事件通知框架,適用於 Unity(包括 Pro 和 Free 版本),使用 C# 編寫,具有乾淨的代碼和簡單、極簡的設計理念。您可以為遊戲創建主選單,並添加滑桿、動畫、核取方塊和彈出列表,還可以本地化您的文本。
這是一本以範例為導向的逐步實用教學,將指導您創建一個功能完整的主選單以及一個 2D 遊戲。您將獲得為現有和未來使用 Unity 3D 開發的 PC 或行動遊戲創建使用者介面的知識。本書將從教您工具的基本功能和如何創建基本 UI 開始。稍後,您還將學習如何創建更複雜的 UI。
本書將首先讓您熟悉 NGUI 的工作流程,然後逐步引導您構建複雜的選單並創建 2D 遊戲。
為了實現這一目標,您將創建和配置文本標籤、滑桿和核取方塊,並使用拖放系統。您將接觸到進階主題,如使用 C# 與 NGUI,並學習如何構建可滾動的視口。在本書結束時,您將獲得創建 UI 所需的所有知識,並透過實用步驟和截圖的支持來學習。
**您將從本書中學到什麼**
- 下載和導入 NGUI
- 構建基本的使用者介面:按鈕、精靈、文本輸入、列表、滑桿等
- 使用剪裁、可拖動面板、內容對齊、動畫和本地化來增強您的 UI
- 使用 C# 與 NGUI 保存選項、實現音量修改、啟動動畫和更改變數
- 構建可滾動的視口和拖放系統
- 創建工具提示和通知
- 添加您的精靈和字體以自訂主選單
- 通過代碼移動元素並處理碰撞以創建遊戲
**方法**
這是一個易於遵循的逐步教學,專注於實際情況和操作,指導您創建具體的圖形使用者介面和簡單的 2D 遊戲。
**本書的讀者對象**
如果您是希望學習 NGUI 的 Unity 3D 開發者,那麼這本書適合您。預期具備 C# 腳本的基本知識。對 Unity 3D 編輯器、GameObject 及創建/添加腳本到 GameObject 的額外知識將是有益的;然而,無需具備 NGUI 的先前知識。