Search Unity

Question making button highlighted

Discussion in 'Scripting' started by sidchou, Dec 17, 2022.

  1. sidchou

    sidchou

    Joined:
    Apr 13, 2020
    Posts:
    12
    I know that you can use `EventSystem.current.SetSelectedGameObject(gameObject);` to change button to select color, but how do you make it to highlighted color?