25 lines
441 B
C#
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;
|
|
}
|