AlicizaX/Client/Packages/com.alicizax.unity.entry/Runtime/GameApp.cs

23 lines
381 B
C#
Raw Normal View History

2025-04-28 19:45:45 +08:00
using AlicizaX;
2025-01-23 19:06:48 +08:00
public static partial class GameApp
{
/// <summary>
/// 获取游戏基础组件。
/// </summary>
2025-04-28 19:45:45 +08:00
public static RootModule Base
2025-01-23 19:06:48 +08:00
{
get
{
if (_base == null)
{
2025-04-28 19:45:45 +08:00
_base = RootModule.Instance;
2025-01-23 19:06:48 +08:00
}
return _base;
}
}
2025-04-28 19:45:45 +08:00
internal static RootModule _base;
}