Search Unity

Button Doesnt work

Discussion in 'UI Toolkit' started by unity_vwgTK-tkKqJy2A, Jan 18, 2020.

  1. unity_vwgTK-tkKqJy2A

    unity_vwgTK-tkKqJy2A

    Joined:
    Jan 18, 2020
    Posts:
    8
    Hi! I put in my clicker game, button to go to the backpack. And I have problem, I cant click this button, I have identical button in backpack scene, and It works, but this one from game scene, isnt work.
    What can be problem ?
     
  2. Play2D

    Play2D

    Joined:
    Oct 16, 2016
    Posts:
    9
    If you register callbacks with the 'MouseDownEvent', left click doesn't work. (Right and middle click work)
    I've "fixed" it by using 'MouseUpEvent', left click works using that, but might not be ideal.
    Don't know if that helps...