diff --git a/Assets/Cryville.EEW.Unity/UI/EventListView.cs b/Assets/Cryville.EEW.Unity/UI/EventListView.cs index 233c3ab..3e1709d 100644 --- a/Assets/Cryville.EEW.Unity/UI/EventListView.cs +++ b/Assets/Cryville.EEW.Unity/UI/EventListView.cs @@ -9,7 +9,6 @@ namespace Cryville.EEW.Unity.UI { public void Set(ReportUnit unit) { foreach (Transform child in transform) { - child.SetParent(null, false); Destroy(child.gameObject); } foreach (var e in unit) { diff --git a/Assets/Cryville.EEW.Unity/UI/EventPropertyListView.cs b/Assets/Cryville.EEW.Unity/UI/EventPropertyListView.cs index df390b8..d260078 100644 --- a/Assets/Cryville.EEW.Unity/UI/EventPropertyListView.cs +++ b/Assets/Cryville.EEW.Unity/UI/EventPropertyListView.cs @@ -9,7 +9,6 @@ namespace Cryville.EEW.Unity.UI { public void Set(IEnumerable> props) { foreach (Transform child in transform) { - child.SetParent(null, false); Destroy(child.gameObject); } foreach (var prop in props) {