NLDClient-yudde/ProjectNLD/Assets/Code/Scripts/Gameplay/Common/Util/GLConfig.cs

31 lines
582 B
C#

using Framework;
namespace Gameplay.Common
{
public class GLConfig
{
private static GLConfig _instance;
public static GLConfig Inst
{
get
{
if (_instance == null)
{
_instance = new GLConfig();
}
return _instance;
}
}
public cfg.GlobalConfig data;
private GLConfig()
{
// 进行数据转存
data = TableManager.Instance.Tables.GlobalConfig;
}
}
}