Author Topic: UIButton On Click  (Read 2011 times)

atmuc

  • Guest
UIButton On Click
« on: October 19, 2013, 11:22:29 AM »
i added a script and a method for click on my button game object. UIButton On Click on unity inspector calls like onmouseup. i also added OnClick and OnPress methods on my script. OnClick works like OnMouseUp, OnPress work twice first with parameter true and second is false.

how can i On Click on unity inspector as OnMouseDown like OnPress(true) ?