The question is answered, right answer was accepted
UI Buttons only respond to my screen touch instead of my mouse click
The buttons I created don't respond to my mouse click, instead these buttons they only respond to my screen touch(I'm using surface pro3), which is not my intention. Other things work fine, the box collider can see my mouse moving in, I can use my mouse to drag the window, It's just the buttons don't respond to my mouse click.
Some Images of my projects, maybe helpful
Answer by QuantumRose · Jun 24, 2018 at 12:41 AM
Problem is fixed. The conflict lies between the my drag window script and the button's click detection. Once I click the mouse, the drag window script thinks that I am ready to drag the window instead of clicking something. I add some restrictions on the drag window script saying that it will only activate if my mouse click and move over some distance. And now when I click my buttons, the program knows that I'm clicking it instead of dragging it.