Quantcast
Channel: Unity Forum
Viewing all articles
Browse latest Browse all 1466670

SetSiblingIndex reordering in hierarchy but not in scene

$
0
0
Hi!
I'm having a problem that I hope you can help me with. I'm not entirely sure it's a Unity bug though.

My object hierarchy is as follows:

- ScrollRect with mask
----- GameObject with a Vertical Layout Group that is the content for the ScrollRect
----- ----- Prefabs instantiated at run-time

The ScrollRect is inside other objects (has 3 parents before the canvas) if that matters.

The prefabs are instantiated when I drop items from another place inside the scrollrect. I then want to reorder...

SetSiblingIndex reordering in hierarchy but not in scene

Viewing all articles
Browse latest Browse all 1466670

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>