23 lines
454 B
C#
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;
|
|
} |