Beispiel #1
0
        /// <summary>
        /// 加载框架配置
        /// </summary>
        static private void LoadFrameConfig()
        {
            var content = Resources.Load <TextAsset>("BDFrameConfig").text;

            BDFrameConfig = JsonMapper.ToObject <BDFrameConfig>(content);
            //框架版本
            BDebug.Log("框架版本:" + BDFrameConfig.Version, "red");
        }
Beispiel #2
0
 /// <summary>
 /// 初始化
 /// </summary>
 static public void Init()
 {
     BdFrameEditorSetting = BDEditorSetting.Load();
     BDFrameConfig        = BDFrameConfig.Load();
 }