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; } } }