Skip to content

GuybrushThreepwood-GitHub/dear-imgui-unity-dev

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dear-imgui-unity-dev - v1.85

Dear ImGui integration into Unity (package: https://github.com/GuybrushThreepwood-GitHub/dear-imgui-unity)

Dump of the complete process, so even I can remember.

  • Update the imgui submodule inside the cimgui submodule with the version you want to support/update.
  • Build the libraries for the platform - use the build-*** scripts and copy to D:\GitHub\dear-imgui-unity-dev\dear-imgui-project\Packages\dear-imgui-unity\Plugins
  • Use LuaJIT to generate the lua/json files detailing the functions and structs (src\cimgui\generator\output).
  • Copy the json files into the C# generator in the ImGui.NET project (src\ImGui.NET\src\CodeGenerator\definitions\cimgui).
  • Run the CodeGenerator project (specifying the output directory to be 'dear-imgui-project\Packages\dear-imgui-unity\ImGuiNET\Wrapper\Generated' or copy the output ****.gen.cs files to this path.
  • Update the various imgui structures inside 'dear-imgui-project\Packages\dear-imgui-unity\ImGuiNET.Unity' for new or removed values (e.g. Styles/ IO / Fonts).
  • Done?

Releases

No releases published

Packages

No packages published

Languages

  • Less 71.2%
  • C# 12.0%
  • CMake 6.8%
  • Batchfile 4.1%
  • C 2.9%
  • C++ 1.6%
  • Shell 1.4%