fix: submeshes can't over 8

Close #122
This commit is contained in:
mob-sakai
2021-02-02 00:38:19 +09:00
parent c0aa89bd6f
commit 2a1f3345ba
2 changed files with 1 additions and 21 deletions

View File

@@ -204,19 +204,6 @@ namespace Coffee.UIExtensions
DestroyUIParticle(current);
return;
}
current.GetComponentsInParent(true, s_TempParents);
if (FixButton(1 < s_TempParents.Count, "This UIParticle component should be removed. The parent UIParticle exists."))
{
DestroyUIParticle(current);
return;
}
current.GetComponentsInChildren(true, s_TempChildren);
if (FixButton(1 < s_TempChildren.Count, "The children UIParticle component should be removed."))
{
s_TempChildren.ForEach(child => DestroyUIParticle(child, true));
}
}
void DestroyUIParticle(UIParticle p, bool ignoreCurrent = false)