feat: initial commit

This commit is contained in:
2025-12-01 12:36:01 +08:00
commit ee78bf2cb5
221 changed files with 56853 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
using System;
namespace Common.Timer.Runtime
{
public interface ITimer
{
public bool IsActive { get; }
public float CurrentTime { get; set; }
public float DeltaTime { get; }
public void Tick();
public void Activate(bool resetTime = false);
public void Deactivate();
public void ResetTime();
public void SetTime(float value);
public event Action OnTick;
public event Action OnActivate;
public event Action OnDeactivate;
public event Action OnTimeReset;
}
}