S4-07 process 1
This commit is contained in:
@@ -31,6 +31,7 @@ namespace GeometryTD.Procedure
|
||||
"ShopPrice",
|
||||
"Sound",
|
||||
"Tag",
|
||||
"TagConfig",
|
||||
"OutGameDropPool",
|
||||
"UIForm",
|
||||
"UISound",
|
||||
@@ -194,6 +195,15 @@ namespace GeometryTD.Procedure
|
||||
|
||||
_loadedFlag[ne.DataTableAssetName] = true;
|
||||
Log.Info("Load data table '{0}' OK.", ne.DataTableAssetName);
|
||||
|
||||
if (ne.DataTableAssetName == AssetUtility.GetDataTableAsset("TagConfig", false))
|
||||
{
|
||||
var tagConfigTable = GameEntry.DataTable.GetDataTable<DRTagConfig>();
|
||||
if (tagConfigTable != null)
|
||||
{
|
||||
TagConfigRegistry.LoadFromRows(tagConfigTable.GetAllDataRows());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void OnLoadDataTableFailure(object sender, GameEventArgs e)
|
||||
|
||||
Reference in New Issue
Block a user