Welcome,
Guest
. Please
login
or
register
.
December 07, 2024, 06:43:47 AM
Home
Help
Search
Login
Register
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
Documentation Feedback: Message Events
« previous
next »
Print
Pages: [
1
]
Author
Topic: Documentation Feedback: Message Events (Read 2192 times)
Rafe
Jr. Member
Thank You
-Given: 0
-Receive: 0
Posts: 78
Documentation Feedback: Message Events
«
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
Logged
ArenMook
Administrator
Hero Member
Thank You
-Given: 337
-Receive: 1171
Posts: 22,128
Toronto, Canada
Re: Documentation Feedback: Message Events
«
Reply #1 on:
August 12, 2012, 11:44:54 PM »
You could also just go to the definition of the callback type it's expecting.
Logged
Rafe
Jr. Member
Thank You
-Given: 0
-Receive: 0
Posts: 78
Re: Documentation Feedback: Message Events
«
Reply #2 on:
August 13, 2012, 01:00:51 AM »
"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.
Logged
Print
Pages: [
1
]
« previous
next »
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
Documentation Feedback: Message Events