Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice
  3. Dismiss Notice

Question Help With Layout

Discussion in 'UGUI & TextMesh Pro' started by mirko87, Sep 20, 2022.

  1. mirko87

    mirko87

    Joined:
    Jul 2, 2018
    Posts:
    58
    Hi, i'm trying to have a list with scroll rect animated, let me explain it better..

    i want to animate my list when an element is displayed ( it's for a ranking UI ) so i ended up to animate the gameobject itself since the vertical layout group will take care of the position of the content, so i just used a simple "container" object that will animate the other stuff inside, this woks well but i'm having some issue to display it always in front of the other contents.. for example the content animated at poisition 20 for example, will be displayed behind the 21 in the list.. i just tried to disable the vertical layout component and then rearrange the sibilling index but it will broke the scrollbar rect.

    anyone can help me to figure out how to achieve this?