using cfg; using Luban; using Script.FrameWork; using UnityEngine; using YooAsset; namespace Script.GameLogic.Manager { public class DataTableManager : Singleton { public Tables Table; public override void Init() { Table = new Tables(file => { var obj = YooAssets.LoadAssetSync(file).AssetObject as TextAsset; var buff = obj.bytes; return new ByteBuf(buff); }); } } }