replaced imgui with cimgui shared lib to use with c# bindings

This commit is contained in:
2025-04-29 02:37:15 +05:00
parent 72f47c297e
commit d5531ce370
12 changed files with 67 additions and 43 deletions

View File

@@ -1,4 +1,5 @@
using System;
using Hexa.NET.ImGui;
namespace Ougge;
@@ -11,5 +12,8 @@ public class ExampleComponent : Component
public override void Update(double deltaTime)
{
Console.WriteLine($"C# deltaTime {deltaTime} object id {Owner.Id}");
ImGui.Begin("C# WINDOW");
ImGui.Text("Hello from ExampleComponent!");
ImGui.End();
}
}

View File

@@ -6,5 +6,10 @@
<ImplicitUsings>disable</ImplicitUsings>
<Nullable>enable</Nullable>
<DebugType>embedded</DebugType>
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Hexa.NET.ImGui" Version="2.2.7" />
<PackageReference Include="Tomlyn" Version="0.19.0" />
</ItemGroup>
</Project>