Search Unity

Unity UI How to make tree structured list ?

Discussion in 'UGUI & TextMesh Pro' started by Garrom, May 23, 2017.

  1. Garrom

    Garrom

    Joined:
    Oct 26, 2016
    Posts:
    45
    Hi all. I developing sci-fi game and i want to make database of avalible eqipments/ships/enemyes. But i have no idea how to make tree-structured list (like picture below) using unity UI. I don't need full solution and Implementation, just give me pointer where to look or what read.
    ps. i don't own picture below, i find it at google images

    -Garrom
     
  2. methos5k

    methos5k

    Joined:
    Aug 3, 2015
    Posts:
    8,712
    Not sure if there's an automatic way, but it seems as though there's a simple pattern.
    Every item takes an equal (ish) amount of space vertically to display, and subgroups indent equally.
    It's contained in a scrollview.