How add 2 Containers into Scroll Rect’s Content in Unity2d

Hello,

I have 2 Containers, one for images and another for Text. How I can add these Containers into ScrollRect’s Content ?

Thank you very much,

Here is the Unity tutorial on UI ScrollRect. See if that has what you are looking for.

1 Like

Make a 3rd container, I’ll call this on ParentContainer. and place both Image and Text containers inside it. Make ParentContainer the child of Content ,and content will scroll this object up and down. If the Text is suppose to be pasted on top of the image, you can make both Image Container and Text container the same size as ParentContainer. You can use Canvas sorting order to make sure Text are drawn on top of the images.

1 Like

Thank takatok, I will try …