Learning NGUI for Unity

Charles Pearson

相關主題

商品描述

Leverage the power of NGUI for Unity to create stunning mobile and PC games and user interfaces

About This Book

  • Get to grips with NGUI for both PC and mobile devices
  • Create fully functional 2D and 3D cross-platform user interfaces
  • A step-by-step guide, full of examples to help you quickly build widgets and user-friendly GUI for your games

Who This Book Is For

If you are a Unity 3D developer who wants to create an effective and user-friendly GUI using NGUI for Unity, then this book is for you. Prior knowledge of C# scripting is expected; however, no knowledge of NGUI is required.

What You Will Learn

  • Build customizable 2D and 3D in-game user interfaces
  • Use NGUI to save options, implement volume modification, launch animations, and change variables
  • Enhance your UI using draggable panels, animations, content alignment, and localization
  • Implement your own sprites and fonts to customize your user interface
  • Move elements through code and handle collisions to create a game
  • Create an effective and user-friendly cross-platform main menu
  • Deal with different screen sizes and aspect ratios

In Detail

NGUI is a robust UI system both powerful and optimized. It is an effective plugin for Unity, which gives you the power to create beautiful and complex user interfaces while reducing performance costs.

This book is a practical tutorial that will guide you through creating a fully functional and localized main menu along with 2D and 3D in-game user interfaces. The book starts by teaching you about NGUI's workflow and creating a basic UI, before gradually moving on to building widgets and enhancing your UI. You will then switch to the Android platform to take care of different issues mobile devices may encounter. By the end of this book, you will have the knowledge to create ergonomic user interfaces for your existing and future PC or mobile games and applications developed with Unity 3D and NGUI.

商品描述(中文翻譯)

利用 NGUI 為 Unity 的強大功能,創造驚人的手機和 PC 遊戲及用戶介面

關於本書
- 熟悉 NGUI 在 PC 和行動裝置上的應用
- 創建功能完整的 2D 和 3D 跨平台用戶介面
- 一步一步的指南,充滿範例,幫助您快速建立小工具和友好的 GUI 以供您的遊戲使用

本書適合誰
如果您是希望使用 NGUI 為 Unity 創建有效且友好的 GUI 的 Unity 3D 開發者,那麼這本書就是為您而寫。預期您具備 C# 腳本的基礎知識;然而,對 NGUI 的了解並不必要。

您將學到什麼
- 建立可自訂的 2D 和 3D 遊戲內用戶介面
- 使用 NGUI 保存選項、實現音量調整、啟動動畫和變更變數
- 使用可拖曳面板、動畫、內容對齊和本地化來增強您的 UI
- 實現自己的精靈和字型以自訂您的用戶介面
- 通過程式碼移動元素並處理碰撞以創建遊戲
- 創建有效且友好的跨平台主選單
- 處理不同的螢幕尺寸和長寬比

詳細內容
NGUI 是一個強大且優化的 UI 系統。它是 Unity 的一個有效插件,讓您能夠創建美麗且複雜的用戶介面,同時降低性能成本。

本書是一個實用的教程,將指導您創建一個功能完整且本地化的主選單,以及 2D 和 3D 的遊戲內用戶介面。本書首先教您 NGUI 的工作流程和創建基本 UI,然後逐步進入小工具的建立和 UI 的增強。接著,您將轉向 Android 平台,以處理行動裝置可能遇到的不同問題。在本書結束時,您將具備創建符合人體工學的用戶介面的知識,適用於您現有和未來使用 Unity 3D 和 NGUI 開發的 PC 或行動遊戲及應用程式。