33 lines
916 B
C#
33 lines
916 B
C#
using Thousandto.Code.Center;
|
|
using Thousandto.Code.Global;
|
|
using Thousandto.Core.Base;
|
|
using System;
|
|
using UnityEngine;
|
|
|
|
namespace Thousandto.Code.Logic
|
|
{
|
|
/// <summary>
|
|
/// 游戏配置数据系统
|
|
/// </summary>
|
|
public class GameCfgDataSystem
|
|
{
|
|
public static bool isCollectRecord = false;
|
|
public static bool isRuntimeProfiler = false;
|
|
|
|
//开始加载的线程
|
|
public static void Initialize()
|
|
{
|
|
//isCollectRecord = GameCenter.LuaSystem.Adaptor.IsCollectRecord();
|
|
//isRuntimeProfiler = GameCenter.LuaSystem.Adaptor.IsRuntimeProfiler();
|
|
|
|
LuaDataConverter.Load();
|
|
//LuaDataConverter.FreeLuaCfg();
|
|
|
|
//if(isCollectRecord)
|
|
// LuaDataConverter.Record();
|
|
if (isRuntimeProfiler)
|
|
RunTimeProfiler2.instance.isRunProfiler = isRuntimeProfiler;
|
|
}
|
|
}
|
|
}
|