replaced imgui with cimgui shared lib to use with c# bindings
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user