1
\$\begingroup\$

enter image description here

I am trying to make this effect for buttons. i.e the middle one is bigger and is selected. the buttons can be moved left or right by swapping with finger. Does anyone have any idea how to do it?

\$\endgroup\$
5
  • \$\begingroup\$ This looks like a common UI control called a carousel, or sometimes "cover flow". There are lots of existing assets to provide this out of the box, and tutorials about creating this kind of interface. What have you tried based on your research of this wealth of information so far? \$\endgroup\$
    – DMGregory
    Commented Jun 10, 2019 at 11:11
  • \$\begingroup\$ Ok I found a slider asset. but it was simple image movement left or right. I will try this out. \$\endgroup\$ Commented Jun 11, 2019 at 7:15
  • \$\begingroup\$ I followed a tutorial and I was able to create this effect \$\endgroup\$ Commented Jun 11, 2019 at 14:14
  • \$\begingroup\$ Great, want to post your solution as an Answer below to help others? \$\endgroup\$
    – DMGregory
    Commented Jun 11, 2019 at 14:26
  • \$\begingroup\$ Okay. But really thank you for helping me out. \$\endgroup\$ Commented Jun 12, 2019 at 12:17

1 Answer 1

1
\$\begingroup\$

I found this tutorial link with the help of DMGregory. Click here for the tutorial project

All you have to do is add panels as

-main
    ->child
        ->grandChild
            ->emptyObject
                ->button1
                ->button2...

add script CreateProfile to child. and the the buttons and emptyObject to it. And thats it.

\$\endgroup\$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .