GameObject and Component

This commit is contained in:
2025-04-18 18:24:02 +05:00
parent 47574e9b30
commit 04e4f63fd7
7 changed files with 136 additions and 41 deletions

View File

@@ -0,0 +1,15 @@
using System;
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}");
}
}