com.alicizax.unity.entry/Runtime/GameApp.Config.cs
陈思海 0ee146b515 init
2025-02-07 16:09:00 +08:00

23 lines
454 B
C#

using AlicizaX.Config.Runtime;
using AlicizaX.Runtime;
public static partial class GameApp
{
/// <summary>
/// 获取配置组件。
/// </summary>
public static ConfigComponent Config
{
get
{
if (_config == null)
{
_config = GameEntry.GetComponent<ConfigComponent>();
}
return _config;
}
}
private static ConfigComponent _config;
}