com.alicizax.unity.framework/Runtime/GameApp/GameApp.Timer.cs
2026-03-18 15:39:23 +08:00

24 lines
436 B
C#

using AlicizaX;
using AlicizaX.Timer.Runtime;
public static partial class GameApp
{
/// <summary>
/// 获取定时器组件。
/// </summary>
public static ITimerModule Timer
{
get
{
if (_timer == null)
{
_timer = ModuleSystem.GetModule<ITimerModule>();
}
return _timer;
}
}
internal static ITimerModule _timer;
}