2025-09-05 19:46:30 +08:00
|
|
|
using AlicizaX;
|
|
|
|
|
using UnityEngine;
|
|
|
|
|
|
|
|
|
|
namespace AlicizaX.Timer.Runtime
|
|
|
|
|
{
|
|
|
|
|
[DisallowMultipleComponent]
|
|
|
|
|
[AddComponentMenu("Game Framework/Timer")]
|
|
|
|
|
[UnityEngine.Scripting.Preserve]
|
2026-03-26 16:14:05 +08:00
|
|
|
public sealed class TimerComponent : MonoBehaviour
|
2025-09-05 19:46:30 +08:00
|
|
|
{
|
|
|
|
|
private void Awake()
|
|
|
|
|
{
|
2026-04-20 13:46:44 +08:00
|
|
|
AppServices.RegisterApp(new TimerService());
|
2025-09-05 19:46:30 +08:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2026-03-31 17:25:20 +08:00
|
|
|
|