Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Drag Image out of Layout Group

Discussion in 'UGUI & TextMesh Pro' started by iossif, Aug 20, 2014.

  1. iossif


    Mar 4, 2011
    hey everyone,

    i currently a vertical layout group that i use as scrollable list. now i want to drag items out of that list to another place. so far i have been able to do that when i assigned a scroll rect to every element and set the elements themselves as content of the scroll rect. in addition i changed the parent of the object i drag out of my list to the canvas.

    this _somehow_ works but when i drag an element that has itself as scroll rect content it stutters while dragging and does not seem the correct way to do it.

    what would be a better approach here?