Hacker News new | ask | show | jobs
by mellinoe 2609 days ago
> For the probably best known example, Unity used to have an IMGUI [1] but they've actively moved away from it. It's still there in vestigial form, the API is not removed, but game developers don't really use it.

It's true that the newer retained mode GUI has supplanted the older IMGUI for "game UI" (e.g. what users interact with when playing an actual game built with Unity). On the other hand, the Unity editor itself is still built entirely with their immediate-mode GUI library, and I haven't heard of any plan to move away from that. Building "editor-like" tools (including custom user tools) is still significantly easier to accomplish using immediate-mode libraries.

3 comments

Oh, they're switching to RMGUI in the editor as well, though more slowly. More info here:

https://blogs.unity3d.com/2019/04/23/whats-new-with-uielemen...

Interesting (even a surprising) choice Unity is making. What are the performance implications of this change?
In Unity you're still forced to use the IMGUI for making editor tools. In fact their new xml layout prototype still uses the IMGUI to draw an instantiated layout! What a mess...