UPM package for the immediate mode GUI library, Dear ImGui (https://github.com/ocornut/imgui).
DearImGui
component to one of the objects in the scene.Render Im Gui Feature
render feature to the renderer asset. Assign it to the render feature
field of the DearImGui component.ImGuiUn.Layout
event and use ImGui functions.Example script:
using UnityEngine;
using ImGuiNET;
public class DearImGuiDemo : MonoBehaviour
{
void OnEnable()
{
ImGuiUn.Layout += OnLayout;
}
void OnDisable()
{
ImGuiUn.Layout -= OnLayout;
}
void OnLayout()
{
ImGui.ShowDemoWindow();
}
}
This package uses Dear ImGui C bindings by cimgui and the C# wrapper by ImGui.NET.
The development project for the package can be found at https://github.com/realgamessoftware/dear-imgui-unity-dev .