表格重构
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.Threading.Tasks;
|
||||
using FairyGUI;
|
||||
using NBC;
|
||||
@@ -111,8 +112,12 @@ namespace NBF
|
||||
|
||||
private void LoadData()
|
||||
{
|
||||
Stopwatch stopwatch = new Stopwatch();
|
||||
stopwatch.Start();
|
||||
var jsonAsset = Resources.Load<TextAsset>("config/configs");
|
||||
ConfigTableHelper.Initialize(jsonAsset.text);
|
||||
stopwatch.Stop();
|
||||
Log.Info($"解析表格耗时={stopwatch.ElapsedMilliseconds}");
|
||||
// ConfigAssets.Init();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user