📓
Nez framework documentation
  • Nez Setup
  • Nez Core
  • Scene-Entity-Component
  • Rendering
  • Content management
  • Dear IMGUI
  • Physics
  • Farseer physics
  • Verlet physics
  • Entity Processing Systems
  • Deferred lighting
  • Nez UI
  • Pathfinding
  • Runtime Inspector
  • Svg Support
  • AI (FSM, Behavior Tree, GOAP, Utility AI)
  • Links
Powered by GitBook
On this page

Was this helpful?

Dear IMGUI

PreviousContent managementNextPhysics

Last updated 5 years ago

Was this helpful?

Setup

Your main project just needs a reference to the project. The ImGui UI can be shown two different ways: by installing a manually or using the normal Nez . ImGui installs it's own command (toggle-imgui) that takes care of installing the GlobalManager for you. Note that because ImGui is it's own assembly if you want the ImGui command to get loaded you have to manually load the assembly like this: System.Reflection.Assembly.Load("Nez.ImGui").

To manually install the ImGui manager, use the following code:

var imGuiManager = new ImGuiManager();
Core.RegisterGlobalManager( imGuiManager );

// toggle ImGui rendering on/off. It starts out enabled.
imGuiManager.SetEnabled(false);

More coming soon...

Nez.ImGui
GlobalManager
debug console