AlicizaX/Client/Packages/com.alicizax.unity.timer/Runtime/Timer/TimerComponent.cs

18 lines
386 B
C#
Raw Normal View History

2025-01-23 19:06:48 +08:00
using System;
2025-04-28 19:45:45 +08:00
using AlicizaX;
2025-01-23 19:06:48 +08:00
using UnityEngine;
namespace AlicizaX.Timer.Runtime
{
[DisallowMultipleComponent]
[AddComponentMenu("Game Framework/Timer")]
[UnityEngine.Scripting.Preserve]
2025-04-28 19:45:45 +08:00
public sealed class TimerComponent:MonoBehaviour
2025-01-23 19:06:48 +08:00
{
2025-04-28 19:45:45 +08:00
private void Awake()
2025-01-23 19:06:48 +08:00
{
2025-04-28 19:45:45 +08:00
ModuleSystem.RegisterModule<ITimerModule,TimerModule>();
2025-01-23 19:06:48 +08:00
}
}
2025-01-24 16:21:00 +08:00
}