19 lines
429 B
C#
19 lines
429 B
C#
using System;
|
|
using Hexa.NET.ImGui;
|
|
|
|
namespace Ougge;
|
|
|
|
public class ExampleComponent : Component
|
|
{
|
|
public ExampleComponent(GameObject gameObject) : base(gameObject)
|
|
{
|
|
}
|
|
|
|
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();
|
|
}
|
|
} |