Working with IMGUI
The last UI system I will cover is IMGUI or Immediate Mode Graphical User Interface. The primary usage for IMGUI is to create tools that assist developers during development and debugging. While IMGUI can technically make runtime UI, it is strongly discouraged by Unity. So, for example, you can use it to make Editor extensions or debug menus that will run in your game’s view, and can be accessed when you play your game outside of the Editor. However, keep in mind these debug in-game menus are meant to be developer-facing, not player-facing. IMGUI is most commonly used for developing Editor UI extensions.
Since this book’s primary focus is on runtime, player-facing UI, I won’t delve too deep into this system; however, I’ll cover the very basics of making developer-facing with IMGUI.
In this chapter, I will discuss the following:
- A general overview of how to use IMGUI
- The most commonly used IMGUI Controls
- How to use...