0

I'm trying to show a ui panel using unity3d ,I have a main camera scene after i click a button ,i want my scrollable panel to show up

just like this

enter image description here

after i click the menu button i want the scrolling ui to appear like this. enter image description here

It'd be great if someone could point out some kind of a tutorial that would cover this.

derHugo
  • 83,094
  • 9
  • 75
  • 115

1 Answers1

2

You need the following:

  • Image component - This is used to represent the items you want to display
  • Grid Layout Group component - This is used to arrange those image components you want to display.
  • Content Size Fitter component - This is used to make sure that those Images fit in the Grid Layout.

The video from here should show you how to use these 3 together to get what you are looking for. To detect which Image is clicked, see this post.

Programmer
  • 121,791
  • 22
  • 236
  • 328