少年修仙传客户端代码仓库
hch
2024-05-17 532c950f80d4e9c987c3ecb70d0f24ca0d1df326
Core/GameEngine/Model/Config/FuncSwitchConfig.cs
@@ -1,6 +1,6 @@
//--------------------------------------------------------
//    [Author]:           Fish
//    [  Date ]:           2024年5月10日
//    [  Date ]:           2024年5月17日
//--------------------------------------------------------
using System.Collections.Generic;
@@ -9,7 +9,6 @@
using System;
using UnityEngine;
using LitJson;
using System.Linq;
public partial class FuncSwitchConfig
{
@@ -129,10 +128,6 @@
            try 
            {
               var line = lines[i];
                    if (!AssetSource.refdataFromEditor)
               {
                  line = new string(line.Reverse().ToArray());
               }
               var index = line.IndexOf("\t");
               if (index == -1)
               {
@@ -160,7 +155,6 @@
        }
        else
        {
            bool isEditor = AssetSource.refdataFromEditor;
            ThreadPool.QueueUserWorkItem((object _object) =>
            {
                var lines = File.ReadAllLines(path);
@@ -172,11 +166,7 @@
                {
               try 
               {
                   var line = lines[i];
                        if (!isEditor)
                   {
                      line = new string(line.Reverse().ToArray());
                   }
                  var line = lines[i];
                  var index = line.IndexOf("\t");
                  if (index == -1)
                  {