com.alicizax.unity.entry/Runtime/GameApp.Event.cs
2025-04-02 19:28:28 +08:00

25 lines
434 B
C#

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