Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: Rafe on August 12, 2012, 11:27:20 PM
-
Hi,
It would be helpful to add the types to the signatures of the events at: http://www.tasharen.com/ngui/docs/class_u_i_camera.html
It took me a good bunch of minutes to realize the OnDrag signature I was using was 'float delta' instead of 'Vector2 delta'. I figured it out with a chance search on these forums. The Unity error message was just "The best match for OnDrag has some invalid parameters."
Hope this helps,
- Rafe
-
You could also just go to the definition of the callback type it's expecting.
-
"could", but didn't. I'm not saying it was smart, but it happened and I figured sharing would help someone. These things happen in development.