mirror of
https://github.com/DCFApixels/DragonECS-Unity.git
synced 2025-09-17 17:34:34 +08:00
fix
This commit is contained in:
parent
e9482100c7
commit
45c9c0a24c
@ -196,6 +196,7 @@ namespace DCFApixels.DragonECS.Unity.RefRepairer.Editors
|
||||
if (_missingRefContainer.IsEmpty)
|
||||
{
|
||||
_isNoFound = true;
|
||||
MetaIDRegistry.instance.Reinit();
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -270,7 +271,17 @@ namespace DCFApixels.DragonECS.Unity.RefRepairer.Editors
|
||||
{
|
||||
if (GUILayout.Button("Re-Collect", GUILayout.ExpandHeight(true), GUILayout.ExpandWidth(false)))
|
||||
{
|
||||
|
||||
if (TryInit())
|
||||
{
|
||||
_missingRefContainer.Collect();
|
||||
_cachedMissingsResolvingDatas = _missingRefContainer.MissingsResolvingDatas.Values.ToArray();
|
||||
InitList();
|
||||
if (_missingRefContainer.IsEmpty)
|
||||
{
|
||||
_isNoFound = true;
|
||||
MetaIDRegistry.instance.Reinit();
|
||||
}
|
||||
}
|
||||
}
|
||||
if (GUILayout.Button("Repaire missing references", GUILayout.ExpandHeight(true)))
|
||||
{
|
||||
|
@ -104,7 +104,6 @@ namespace DCFApixels.DragonECS.Unity.RefRepairer.Editors
|
||||
{
|
||||
collectedMissingTypesBuffer[i] = default;
|
||||
}
|
||||
|
||||
}
|
||||
private void Add(UnityObjectDataBase unityObjectData, ref ManagedReferenceMissingType missing)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user