18 lines
386 B
C#
18 lines
386 B
C#
using System;
|
|
using AlicizaX;
|
|
using UnityEngine;
|
|
|
|
namespace AlicizaX.Timer.Runtime
|
|
{
|
|
[DisallowMultipleComponent]
|
|
[AddComponentMenu("Game Framework/Timer")]
|
|
[UnityEngine.Scripting.Preserve]
|
|
public sealed class TimerComponent:MonoBehaviour
|
|
{
|
|
private void Awake()
|
|
{
|
|
ModuleSystem.RegisterModule<ITimerModule,TimerModule>();
|
|
}
|
|
}
|
|
}
|