Horizontal Scroll Snap "AddChild" method was NOT calling "InitialiseChildObjectsFromScene()", added
Resolves #125pull/413/head
parent
98648acf6a
commit
cdef4bdfef
|
@ -109,6 +109,7 @@ namespace UnityEngine.UI.Extensions
|
|||
{
|
||||
_scroll_rect.horizontalNormalizedPosition = 0;
|
||||
GO.transform.SetParent(_screensContainer, WorldPositionStays);
|
||||
InitialiseChildObjectsFromScene();
|
||||
DistributePages();
|
||||
if (MaskArea) UpdateVisible();
|
||||
|
||||
|
|
Loading…
Reference in New Issue