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) ?