Unity Mobile Game Development: GUI Functionality
This Unity tutorial, will discuss the process of creating a custom Graphical User Interface for our mobile game on the Android tablet. Software required: Unity 3.4.
What you'll learn
This Unity tutorial, will discuss the process of creating a custom Graphical User Interface for our mobile game on the Android tablet. Throughout these lessons, we'll create our own custom scripts to create the exact behavior we want from our user interface and how we implement those to work with our Android tablet. We'll create buttons that will allow us to fire, reload, and swap our weapons. We'll also create the functionality to give the player feedback on how much ammo, time, and health they have during the game. Software required: Unity 3.4.
Table of contents
- Basic Joystick Modification 9m
- Scripting Custom Joysticks 15m
- Implementing the Joystick up and Down States 15m
- Scripting the Crosshair 13m
- Creating the Fire Button 15m
- Implementing the Reload Button 9m
- Scripting the Weapon Swap 10m
- Implementing the Weapon Swap Functionality 8m
- Scripting the Ammo GUI 15m
- Creating the Timer 17m
- Scripting the Health Bar 12m
- Implementing the Health Bar to the Player 14m
- Creating the Kill Counter 15m