© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2024
C. HardmanGame Programming with Unity and C#https://doi.org/10.1007/978-1-4842-9720-9_22

22. Menus and UI

Casey Hardman1  
(1)
West Palm Beach, FL, USA
 

Unity has three systems to provide UI for your games, called IMGUI, uGUI, and UI Toolkit. These systems have their advantages and use cases, which we’ll go over briefly in this chapter. We’ll then properly implement the scene flow for our game, so that we can have multiple level scenes that are all accessible through the “main” scene that opens when the game first plays. We’ll provide buttons that will give the name of the scene and, when clicked, will load that scene.

UI Solutions

Let’s discuss Unity’s three ...

Get Game Programming with Unity and C#: A Complete Beginner’s Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.