Hello Guest

Author Topic: Touch & Hover simultaneously ?  (Read 4165 times)

lionelc

  • Newbie
  • *
  • Posts: 4
    • View Profile
Touch & Hover simultaneously ?
« on: November 01, 2013, 11:48:54 am »
Hello,

is there some tricks to use multiTouch and HoverUI Items ? Or is there something similar with 2dtoolkit ?
In my case, I'm having a Pad : leftBtn / rightBtn and actionBtn.

I'd like to activate the pad when my finger hover it (LeftBtn and RightBtn are never working simultaneously. Hovering is perfect to go right>left>right>… with only one finger sliding from one btn to another)
But the actionBtn has to work on press (or hovering, never mind) with Left or Right pressed too.

I tried with 2 UIManager and layers (one for Hover, the other for MultiTouching), but it didn't worked.

Any idea ?
thx :)

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Touch & Hover simultaneously ?
« Reply #1 on: November 01, 2013, 12:33:58 pm »
Hover isn't supported with multitouch at the moment. It has been requested a few times though. Added to trello, feel free to vote if you're interested in this feature.

lionelc

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Touch & Hover simultaneously ?
« Reply #2 on: November 01, 2013, 05:49:36 pm »
thx for the answer …
That's what I read in the manual. But I though that some tricks could pass trough this limitation.
I finally developed my own system to track "clic" and "hover" in multitouch environment.
I based my work on yours. Tracking raycast/Btn colliders.