Search Unity

Question How to change the background of the option list in dropdown?

Discussion in 'UGUI & TextMesh Pro' started by qinyuq, Jan 30, 2023.

  1. qinyuq

    qinyuq

    Joined:
    Jan 29, 2023
    Posts:
    9
    This is what I want to implement.
    upload_2023-1-30_19-48-3.png

    Sadly, I have no idea where to change the background of this dropdown list. This is what I've got.
    upload_2023-1-30_19-49-37.png

    Please help me... QWQ
     
  2. karliss_coldwild

    karliss_coldwild

    Joined:
    Oct 1, 2020
    Posts:
    602
    When you create a dropdown, it should have a hidden template which is used to create the part which opens when dropdown is activated. Use that to customize the look.

    upload_2023-1-31_9-1-26.png
     
  3. qinyuq

    qinyuq

    Joined:
    Jan 29, 2023
    Posts:
    9
    Thanks for your advise!