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.

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:
    7
    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:
    419
    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:
    7
    Thanks for your advise!