com.alicizax.unity.framework/Runtime/Timer/TimerComponent.cs

18 lines
363 B
C#
Raw Normal View History

2025-09-05 19:46:30 +08:00
using AlicizaX;
using UnityEngine;
namespace AlicizaX.Timer.Runtime
{
[DisallowMultipleComponent]
[AddComponentMenu("Game Framework/Timer")]
[UnityEngine.Scripting.Preserve]
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
}
}
}