Hello Guest

Author Topic: Modify OnHover  (Read 3362 times)

Daiflys

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 7
    • View Profile
Modify OnHover
« on: May 03, 2015, 09:04:38 pm »
Hello! I want to adapt my current game into mobile, now i have a OnHover Event, and i want to change the functionality of OnHover by some kind of OnHold (when i touch my screen and i don't release the finger).
Also i don't want to trigger the OnClick functionality. There is a way to do this?
Thanks!

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Modify OnHover
« Reply #1 on: May 06, 2015, 10:33:31 pm »
There is, you have full source after all :) The input events handling happens in tk2dUIManager. Thats where you want to start  tracing the events to insert your OnHover call.