Mastering UI Development with Unity [1 ed.] 1787125521, 9781787125520

A functional UI is an important component for player interaction in every type of video game. Along with imparting cruci

558 68 18MB

English Pages 468 Year 2018

Report DMCA / Copyright

DOWNLOAD EPUB FILE

Table of contents :
1: Designing User Interfaces
UI and GUI
Four game interface types
Layout
Color schemes
Interface metaphors
Resolution and aspect ratio
Summary

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

3: Automatic Layouts
Types of Automatic Layout Groups
Layout Element
Fitters
Examples
Summary

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

5: Buttons
UI Button
Transitions
Examples
Summary

6: Text, Images, and TextMesh Pro-Text
UI Text
UI Image
UI effect components
TextMesh Pro-Text
Examples
Summary

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

8: Animations and Particles in the UI
Animation clips
Animator Controller
Particles in the UI
Examples
Summary

9: World Space UI
When to use World Space
Appropriately scaling text in the Canvas
Other considerations when working in World Space
Examples
Summary

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

Mastering UI Development with Unity [1 ed.]
 1787125521, 9781787125520

  • 0 0 0
  • Like this paper and download? You can publish your own PDF file online for free in a few minutes! Sign Up
Recommend Papers