Author Topic: UI blocking Mouse input, but not Touch input  (Read 68 times)

Dodaco

  • Newbie
  • *
  • Posts: 5
    • View Profile
UI blocking Mouse input, but not Touch input
« on: November 22, 2021, 07:05:19 PM »
I have some UI above the Hexasphere with buttons on it. When I click the Button with my mouse, everything works. However when I click it with touch, the UI doesn't block the input and I rotate the Hexasphere instead.

Any tips?

Kronnect

  • Administrator
  • Hero Member
  • *****
  • Posts: 7565
    • View Profile
Re: UI blocking Mouse input, but not Touch input
« Reply #1 on: November 23, 2021, 09:15:31 AM »
Just tested on iPhone and a simple big UI Button blocks interaction as expected (using "Respect Other UI" option). Note that this option only works with uGUI (Canvas based elements). Other UI systems, like NGUI or immediate GUI won't work and can require custom blocking detection.

If you still have this problem with standard UI, please try to reproduce it with demo scene 1 and I'll review it again. Thank you.

Dodaco

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: UI blocking Mouse input, but not Touch input
« Reply #2 on: November 23, 2021, 04:19:04 PM »
Sorry forgot to mention

Canvas is in World Space

Kronnect

  • Administrator
  • Hero Member
  • *****
  • Posts: 7565
    • View Profile
Re: UI blocking Mouse input, but not Touch input
« Reply #3 on: November 25, 2021, 03:16:14 PM »
Hello,

Latest beta fixes this issue.

Regards