Mastering UI Development with Unity

Master Game UI system by creating captivating user interface components with Unity 5 through Unity 2018 and C#. Learn about UI texts, images, world space UI, mobile-specific UI and much more.
Preview in Mapt

Mastering UI Development with Unity

Dr. Ashley Godbold
New Release!

Master Game UI system by creating captivating user interface components with Unity 5 through Unity 2018 and C#. Learn about UI texts, images, world space UI, mobile-specific UI and much more.
Mapt Subscription
FREE
$29.99/m after trial
eBook
$25.20
RRP $35.99
Save 29%
Print + eBook
$44.99
RRP $44.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$25.20
$44.99
$29.99 p/m after trial
RRP $35.99
RRP $44.99
Subscription
eBook
Print + eBook
Start 14 Day Trial

Frequently bought together


Mastering UI Development with Unity Book Cover
Mastering UI Development with Unity
$ 35.99
$ 25.20
UX Design for Mobile Book Cover
UX Design for Mobile
$ 31.99
$ 22.40
Buy 2 for $35.00
Save $32.98
Add to Cart

Book Details

ISBN 139781787125520
Paperback468 pages

Book Description

A functional UI is an important component for player interaction in every type of video game. Along with imparting crucial statistical information to the player, the UI is also the window through which the player engages with the world established by the game. Unity's tools give you the opportunity to create complex and attractive UIs to make your game stand out.

This book helps you realize the full potential of Unity's powerful tools to create the best UI for your games by walking you through the creation of myriad user interface components.

Learn how to create visually engaging heads-up-displays, pause menus, health bars, circular progress bars, animated menus, and more. This book not only teaches how to lay out visual elements, but also how to program these features and implement them across multiple games of varying genres.

While working through the examples provided, you will learn how to develop a UI that scales to multiple screen resolutions, so your game can be released on multiple platforms with minimal changes.

Table of Contents

Chapter 1: Designing User Interfaces
UI and GUI
Four game interface types
Layout
Color schemes
Interface metaphors
Resolution and aspect ratio
Summary
Chapter 2: Canvases, Panels, and Basic Layouts
UI Canvas
UI Panel
Rect Transform
Anchor and Pivot Point
Canvas Group component
Introducing UI Text and Image
Examples
Summary
Chapter 3: Automatic Layouts
Types of Automatic Layout Groups
Layout Element
Fitters
Examples
Summary
Chapter 4: The Event System and Programming for UI
Accessing UI elements in code
The Event System
Input Manager
Input functions for buttons and key presses
Input Modules
Event Trigger
Event inputs
Raycasters
Examples
Summary
Chapter 5: Buttons
UI Button
Transitions
Examples
Summary
Chapter 6: Text, Images, and TextMesh Pro-Text
UI Text
UI Image
UI effect components
TextMesh Pro-Text
Examples
Summary
Chapter 7: Masks and Other Inputs
Masks
UI Toggle
UI Slider
UI Scrollbar
UI Scroll View
UI Dropdown and TextMeshPro – Dropdown
UI Input Field
TextMeshPro – Input Field
Examples
Summary
Chapter 8: Animations and Particles in the UI
Animation clips
Animator Controller
Particles in the UI
Examples
Summary
Chapter 9: World Space UI
When to use World Space
Appropriately scaling text in the Canvas
Other considerations when working in World Space
Examples
Summary
Chapter 10: Mobile-Specific UI
Recommended button sizes
Full screen/screen portion taps
The thumb zone
Multi-touch input
Accelerometer and gyroscope
Device resources
Examples
Summary

What You Will Learn

  • Design principles and patterns for laying out elements in your UI
  • Techniques that allow your UI to scale appropriately in different resolutions
  • How to use automatic layouts to streamline your UI building process
  • Properties of the Event System and how to appropriately hook events to your UI elements
  • Access the components and properties of UI elements via code
  • Implement all of Unity's built-in UI elements as well as those provided by TextMeshPro
  • Develop key UI components that are popularly used in multiple game genres
  • Add visual flare to user interfaces with the use of animation and particle effects
  • Create a UI that displays in the Screen Space as well as World Space

Authors

Table of Contents

Chapter 1: Designing User Interfaces
UI and GUI
Four game interface types
Layout
Color schemes
Interface metaphors
Resolution and aspect ratio
Summary
Chapter 2: Canvases, Panels, and Basic Layouts
UI Canvas
UI Panel
Rect Transform
Anchor and Pivot Point
Canvas Group component
Introducing UI Text and Image
Examples
Summary
Chapter 3: Automatic Layouts
Types of Automatic Layout Groups
Layout Element
Fitters
Examples
Summary
Chapter 4: The Event System and Programming for UI
Accessing UI elements in code
The Event System
Input Manager
Input functions for buttons and key presses
Input Modules
Event Trigger
Event inputs
Raycasters
Examples
Summary
Chapter 5: Buttons
UI Button
Transitions
Examples
Summary
Chapter 6: Text, Images, and TextMesh Pro-Text
UI Text
UI Image
UI effect components
TextMesh Pro-Text
Examples
Summary
Chapter 7: Masks and Other Inputs
Masks
UI Toggle
UI Slider
UI Scrollbar
UI Scroll View
UI Dropdown and TextMeshPro – Dropdown
UI Input Field
TextMeshPro – Input Field
Examples
Summary
Chapter 8: Animations and Particles in the UI
Animation clips
Animator Controller
Particles in the UI
Examples
Summary
Chapter 9: World Space UI
When to use World Space
Appropriately scaling text in the Canvas
Other considerations when working in World Space
Examples
Summary
Chapter 10: Mobile-Specific UI
Recommended button sizes
Full screen/screen portion taps
The thumb zone
Multi-touch input
Accelerometer and gyroscope
Device resources
Examples
Summary

Book Details

ISBN 139781787125520
Paperback468 pages
Read More

Read More Reviews

Recommended for You

UX Design for Mobile Book Cover
UX Design for Mobile
$ 31.99
$ 22.40
Getting Started with React VR Book Cover
Getting Started with React VR
$ 35.99
$ 25.20
Progressive Web Apps with React Book Cover
Progressive Web Apps with React
$ 35.99
$ 25.20
UX for the Web Book Cover
UX for the Web
$ 31.99
$ 22.40
Amazon EC2 Master Class (with Auto Scaling and Load Balancer) [Video] Book Cover
Amazon EC2 Master Class (with Auto Scaling and Load Balancer) [Video]
$ 47.99
$ 40.80
Hands-On Web Development with Vue.js [Video] Book Cover
Hands-On Web Development with Vue.js [Video]
$ 124.99
$ 106.25