AlicizaX/Client/Assets/Scripts/New/Example/App/ITimerService.cs
2026-03-25 18:33:59 +08:00

18 lines
358 B
C#

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();
}
}