com.alicizax.unity.entry/Runtime/GameApp.cs

22 lines
413 B
C#
Raw Normal View History

2025-02-07 16:09:00 +08:00
using AlicizaX.Runtime;
public static partial class GameApp
{
/// <summary>
/// 获取游戏基础组件。
/// </summary>
public static BaseComponent Base
{
get
{
if (_base == null)
{
_base = GameEntry.GetComponent<BaseComponent>();
}
return _base;
}
}
private static BaseComponent _base;
}