diff --git a/Runtime/Folder.cs b/Runtime/Folder.cs index aff9bf9..b51a630 100644 --- a/Runtime/Folder.cs +++ b/Runtime/Folder.cs @@ -192,7 +192,7 @@ public void Flatten() if (child.parent == this.transform) { child.name = $"{this.name}/{child.name}"; - child.parent = this.transform.parent; + child.SetParent(this.transform.parent, true); child.SetSiblingIndex(++index); } }