I tested my game for the first time on mobile and the UI almost doesn't work. I use
if(!EventSystem.current.IsPointerOverGameObject()) to check if I'm clicking on the UI (because if I don't click on the UI it moves my object to where I clicked and I don't want it to move when I click a button) and it works well on pc but on android not only it moves behind the button, but the buttons supposed to make it rotate just don't seem to respond. Sometimes I have to double tap the button to make it work once. Why doesn't it work as well as on pc ? Should it be the exact same thing ?
I didn't include screenshots or code because I have no idea where the problem might be coming from but I can provide these on demand.