Search Unity

Setting Dropdown Checkmark Default Position

Discussion in 'UGUI & TextMesh Pro' started by gregacuna, Jan 21, 2017.

  1. gregacuna

    gregacuna

    Joined:
    Jun 25, 2015
    Posts:
    59
    I have a simple drop down with the numbers 2 to 5 to select the number of players. The number is saved to PlayerPrefs and loaded at startup so the last number chosen is displayed in the dropdown unclicked display...as well as showing the list of player names.

    Problem is: when you click on the dropdown to open the list the checkmark is on the first number on the list (2) instead of the number already selected. I've looked through all the controls on the dropdown and cannot find what I would set to have the checkmark be on the same as the "value" on the dropdown.

    I've searched, but haven't found any answers. Hope someone can help. Cheers!