Ebook: Learning NGUI for Unity
Author: Pearson Charles
- Tags: Computer games--Programming, Graphical user interfaces (Computer systems)--Software, Electronic books, Computer games -- Programming, Graphical user interfaces (Computer systems) -- Software
- Year: 2014
- Publisher: Packt Publishing
- City: Birmingham
- Language: English
- epub
The parameters of UIInputThe nickname box; The input field; Adding a checkbox; Creating the checkbox; The parameters of UIToggle; The sound toggle box; The checkbox; Slider; Creating the slider; The parameters of UISlider; Volume adjustment; The SFX slider; The music slider; Summary; Chapter 3: Enhancing Your UI; NGUI components; Enlarging buttons on hover; UIButton Scale; Usage; Parameters; Menu appearance; Tweening concept; Tween Scale; Usage; Parameters; Configuration; Menu disappearance; UIPlay Tween; Usage; Parameters; Configuration; Game exit; MenuManager Script.;Selecting a spriteSprite types; Sliced; Simple; Tiled; Filled; Under the hood; UIRoot; Scaling styles; Configuration; UIPanel; The camera system; Orthographic Camera; UICamera; Summary; Chapter 2: Creating NGUI Widgets; Control prefabs; Background; The Prefab Toolbar; Buttons; Creating a button; The UIButton parameters; The Play button; The Options button; The Exit button; The Options window; Popup List; Creating the Popup List; The parameters of UIPopup List; Creating a language selection box; Creating a background sprite; The title; The Popup List; The input field; Creating the input field.;Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Getting Started with NGUI; Overview; Licenses; UnityGUI versus NGUI; Atlases; Events; Localization; Shaders; Final build; Importing NGUI; Importing from the Asset Store; Importing from disk; Package importing; Creating the UI Root; Displaying text; Creating the Label widget; Selecting a font; UILabel parameters; Configuring the label; Widget parameters; Displaying a sprite; Creating the sprite widget; UISprite parameters; Configuring the sprite; Selecting an atlas.;Main menuScrollable text; Textbox; Welcome label; Clipping; Close buttons; UIForward events; Closing the main menu; Closing options; UIEvent Trigger; Force-saving the nickname; Localization system; Localization file; UILocalize; Selecting the language; Remaining keys; Final corrections; Anchors; Purpose; Parameters; Configuration; Summary; Chapter 4: C# with NGUI; Events; Available methods; Example; Creating tooltips; The tooltip object; Widgets; UITooltip; Displaying the tooltip; Adding the remaining tooltips; Tweens; Tween Scale; DisappearOnClick Script; Tween effects; Event delegates.;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;Linking the tween to Exit()Switching to options; Tween Position; Hiding menu; Configuring the Tween Position component; Playing Tween Position; Showing options; Configuring the Tween Position component; Playing Tween Position; Back to the menu; Confirm button; Hiding options; Showing menu; Scene initialization; Centering the options page; Initialization script; MenuManager script; Hide and show volume box; Tween Alpha; Volume box fade; Configuring Tween Alpha; Playing Tween Alpha; More tween components; Draggable windows; UIDragObject; Usage; Parameters; Configuration; Jumping windows glitch.
Download the book Learning NGUI for Unity for free or read online
Continue reading on any device:
Last viewed books
Related books
{related-news}
Comments (0)