Question by
Koyemsi · Jan 25, 2019 at 07:31 PM ·
drag-and-dropresizescroll view
Resizing a scroll view content, according to drag’n’drop children
Hi,
I have an UI Scroll View, in which I instantiate objects that can be mouse dragged.
As they can move freely, I can’t use some Layout Group on the scroll view Content.
How can I resize the content to that it contains all the children, each time one is being dropped ?
Comment
Your answer
Follow this Question
Related Questions
How can I resize an image with drag-and-drop? 0 Answers
Resizing objects relative to screen and other objects 0 Answers
Scaling an Object with mouse 1 Answer
Sprite superimpose over other sprite when drag over. 0 Answers
What to code if the laboratory equipments are correct and then proceeds to the next scene? 0 Answers