Search Unity

Creating interactable Ui elements.

Discussion in 'UGUI & TextMesh Pro' started by pod11, Dec 3, 2020.

  1. pod11

    pod11

    Joined:
    Jan 6, 2019
    Posts:
    60
    In my project im attempting to create objects that would execute method on click or on mouseover.
    My problem is that even when i add collider and onMouseDown function it is not working.
    Are there some extra steps i need to take to make such objects on UI work?

    Here is screen of my last effort in making triangular button:

     

    Attached Files: