- Unity Android Game Development by Example Beginner's Guide
- Thomas Finnegan
- 203字
- 2025-04-04 22:06:41
Chapter 2. Looking Good – Graphical Interface
In the previous chapter, we covered the features of Unity and Android. We also discussed the benefits of using them together. After we finished installing a bunch of software and setting up our devices, we created a simple Hello World application to confirm that everything was connected correctly.
This chapter is all about Graphical User Interface (GUI). We will start by creating a simple Tic-tac-toe game, using the basic pieces of GUI that Unity provides. Following that we will discuss Unity's GUI Styles and GUI Skins. Using what we learned, we will improve the look of our game. Also, we will explore some tips and tricks for handling many different screen sizes of Android devices. Finally, we will learn about a much quicker way to put our games on the device, which was covered in the previous chapter. With all that said, let's jump in.
In this chapter, we will cover the following topics:
- User preferences
- Buttons and labels
- GUI Skins and GUI Styles
- Dynamic GUI positioning
- Build and run
In this chapter, we will be creating a new project in Unity. The first section here will walk you through its creation and setup.