using System; namespace Aliciza.Services.Example { public interface ITimerService : IService { float ElapsedTime { get; } int Once(float delay, Action callback); int Repeat(float interval, Action callback, int repeatCount = -1, float firstDelay = -1f); bool Cancel(int timerId); void CancelAll(); } }