Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - romeo_ftv

Pages: [1]
2
NGUI 3 Support / Bug with UICamera.ProcessTouch
« on: March 11, 2014, 01:53:42 PM »
  1. public void ProcessTouch (bool pressed, bool unpressed)
  2. {
  3. ...
  4. // If the touch should consider clicks, send out an OnClick notification
  5.                                         if (currentTouch.clickNotification != ClickNotification.None)
  6.                                         {
  7.                                                 float time = RealTime.time;
  8.  
  9.                                                 Notify(currentTouch.pressed, "OnClick", null); <<<<< Sometimes this action calls OnApplicationPause, then currentTouch becomes null
  10.  
  11.                                                 if (currentTouch.clickTime + 0.35f > time) <<<<< and crash!!!
  12.                                                 {
  13.                                                         Notify(currentTouch.pressed, "OnDoubleClick", null);
  14.                                                 }
  15.                                                 currentTouch.clickTime = time;
  16.                                         }
  17. ...
  18. }
  19.  

3
I have the same issue.

4
NGUI 3 Support / Re: Flickering Issue
« on: November 25, 2013, 01:19:04 PM »
the same issue after update to 3.0.6rc3

Pages: [1]