Also added "InitialiseChildObjectsFromScene" to RemoveChild for HSS
Validated all other occurrences where this function should be called are valid.pull/413/head
parent
cdef4bdfef
commit
adb09d3481
|
@ -146,7 +146,7 @@ namespace UnityEngine.UI.Extensions
|
||||||
Transform child = _screensContainer.transform.GetChild(index);
|
Transform child = _screensContainer.transform.GetChild(index);
|
||||||
child.SetParent(null, WorldPositionStays);
|
child.SetParent(null, WorldPositionStays);
|
||||||
ChildRemoved = child.gameObject;
|
ChildRemoved = child.gameObject;
|
||||||
|
InitialiseChildObjectsFromScene();
|
||||||
DistributePages();
|
DistributePages();
|
||||||
if (MaskArea) UpdateVisible();
|
if (MaskArea) UpdateVisible();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue