public void Init(Action _callBack) { Action <Dictionary <string, AssetUnitData> > callBack = delegate(Dictionary <string, AssetUnitData> _data) { LoadAssetData(_data, _callBack); }; SystemIO.LoadSerializeFileWithWWW(dataName, callBack); }
public static void LoadCsvDataFromFile(Action _callBack) { Action <Dictionary <Type, IDictionary> > callBack = delegate(Dictionary <Type, IDictionary> obj) { LoadCsvDataFileOK(obj, _callBack); }; SystemIO.LoadSerializeFileWithWWW(datName, callBack); }