Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Resolved Plans of adding css feature "z-index"?

Discussion in 'UI Toolkit' started by Cantdoright, Nov 12, 2022.

  1. Cantdoright

    Cantdoright

    Joined:
    Aug 31, 2013
    Posts:
    2
    Currently working in UI Toolkit to create a UI for a stack of papers. When selecting a button that goes to the next page, I want the top page to move to the bottom and reveal the page underneath.

    I can do this in css by changing the z-index. I have yet to find an equivalent option on Unity's Visual Elements.

    I am looking at using Sort Order on the UI Document, but I am hoping I do not need to make a separate UI document for each page.

    If I am missing something please let me know. Otherwise I hope a feature like this will be added soon.
     
  2. Cantdoright

    Cantdoright

    Joined:
    Aug 31, 2013
    Posts:
    2
    Last edited: Nov 12, 2022
    florianBrn likes this.