Author Topic: MouseOrTouch  (Read 3273 times)

beermoney

  • Jr. Member
  • **
  • Thank You
  • -Given: 0
  • -Receive: 2
  • Posts: 80
    • View Profile
MouseOrTouch
« on: September 12, 2014, 10:19:45 AM »
Hi Aren,
Is it possible to get a deltaTime added to the MouseOrTouch class? To represent the length of time since the mouse or touch started

There's a clickTime that seems to only work for desktop, (i.e. not mobile)

Ideally I would like the equivalent to this:

Input.GetTouch(0).deltaTime;

Thanks in advance

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: MouseOrTouch
« Reply #1 on: September 13, 2014, 03:28:56 AM »
Certainly. You'll find it in tonight's update.