com.alicizax.unity.entry/Runtime/GameApp.UI.cs
2025-08-06 13:28:34 +08:00

27 lines
434 B
C#

#if ALICIZAX_UI_SUPPORT
using AlicizaX;
using AlicizaX.UI.Runtime;
public static partial class GameApp
{
/// <summary>
/// 获取UI组件。
/// </summary>
public static IUIModule UI
{
get
{
if (_ui == null)
{
_ui = ModuleSystem.GetModule<IUIModule>();
}
return _ui;
}
}
internal static IUIModule _ui;
}
#endif