/// <summary> /// 加载表格 /// </summary> public void LoadDataTable() { //每个都要loaddata Sys_CodeDBModel.LoadData(); Sys_EffectDBModel.LoadData(); LocalizationDBModel.LoadData(); Sys_PrefabDBModel.LoadData(); Sys_SoundDBModel.LoadData(); Sys_StorySoundDBModel.LoadData(); Sys_UIFormDBModel.LoadData(); Sys_UIItemDBModel.LoadData(); Sys_SceneDBModel.LoadData(); Sys_SceneDatailDBModel.LoadData(); ChapterDBModel.LoadData(); GameLevelDBModel.LoadData(); TaskDBModel.LoadData(); JobDBModel.LoadData(); //所有加载表格完毕(c#里的) //GameEntry.Event.CommonEvent.Dispatch(SysEventId.LoadDataTableComplete); }
private IEnumerator Waiter() { GameLevelDBModel gl = new GameLevelDBModel(); gl.LoadData(); Debug.Log(gl.Get(2).Name); yield return(new WaitForSeconds(1)); //List<GameLevelEntity> list = gl.GetList(); //for (int i = 0; i < list.Count; i++) //{ // Debug.Log(list[i].Name); //} }
/// <summary> /// 加载表格 /// </summary> public void LoadDataTable() { //每个表都 LoadData ChapterDBModel.LoadData(); GameLevelDBModel.LoadData(); TaskDBModel.LoadData(); JobDBModel.LoadData(); JobLevelDBModel.LoadData(); ShopDBModel.LoadData(); EquipDBModel.LoadData(); ItemDBModel.LoadData(); MaterialDBModel.LoadData(); WorldMapDBModel.LoadData(); SkillDBModel.LoadData(); SkillLevelDBModel.LoadData(); }
public void LoadDataTable() { //每个表都LoadData Sys_UIFormDBModel.LoadData(); Sys_EffectDBModel.LoadData(); Sys_PrefabDBModel.LoadData(); Sys_SoundDBModel.LoadData(); Sys_StorySoundDBModel.LoadData(); Sys_UIFormDBModel.LoadData(); LocalizationBModel.LoadData(); ChapterDBModel.LoadData(); GameLevelDBModel.LoadData(); TaskDBModel.LoadData(); //所有表Load完毕 GameEntry.Event.CommonEvent.Dispatch(SysEventId.LoadDataTableComplete); }