Skip to content
This repository has been archived by the owner on Apr 2, 2024. It is now read-only.

Possibility of integrating ImPlot? #13

Open
oxysoft opened this issue Jun 17, 2020 · 1 comment
Open

Possibility of integrating ImPlot? #13

oxysoft opened this issue Jun 17, 2020 · 1 comment

Comments

@oxysoft
Copy link

oxysoft commented Jun 17, 2020

https://github.com/cimgui/cimplot

This ImGui extension with various data plotting features would be extremely useful in game development with Unity. Would it be possible to integrate it with this plugin for Unity?

@viliwonka
Copy link

viliwonka commented Jul 6, 2020

@oxysoft

cimplot uses exact structure as cimgui, and this generator uses it (Imgui.NET). This Unity project uses Imgui.NET.

https://github.com/mellinoe/ImGui.NET/tree/master/src/CodeGenerator

Second, inside generated files, you should rename 'using System.Numerics' to 'UnityEngine'.

Third, you will need to write wrapper around generated wrapper. Shouldn't be too much work.

So, with one/two day work you should be able to get something working.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants