com.alicizax.unity.entry/Runtime/GameApp.Event.cs
2025-03-20 20:47:26 +08:00

25 lines
441 B
C#

using AlicizaX.Event.Runtime;
using AlicizaX.Runtime;
public static partial class GameApp
{
/// <summary>
/// 获取事件组件。
/// </summary>
public static IEventModule Event
{
get
{
if (_event == null)
{
_event = ModuleSystem.GetModule<IEventModule>();
}
return _event;
}
}
private static IEventModule _event;
}