I have a question . Normally I would use MouseUp and Down. NGUI, I see uses OnClick, OnPress. I understand how this works. But not enough in detail. I have looked up what others have said, about this.
I have a 3d object and use a button and when I press mouse Down, I have it rotating 180 degrees , on mouse Up, I have it return back to its original position. I'm using Tween rotation for this, which works great, I just need to get my mouse up and down to work the way I want.
I have no issues at all, when rotating , the mouse down works fine when using OnPress But when I click the button it rotates as it should, but when the mouse is up, it still is rotating. Its almost like its ignoring the mouse up all together.
I guess I'm trying to understand how the Mouse up and Down works with NGUI, I have watch every tutorial I can, I have a book on NGUI its a bit dated but still enough to understand what I need to do. This is the only problem in NGUI, I BEEN having were I have issues.
Normally this is super easy in UNITY. In NGUI , I just don't understand. OnRelease, I see in the docs. but I read somewhere saying, that you would use OnPress (Bool pressed) You would use false with your Boolean when releasing rather than using onRelease.
Again I hope I explained this right, I'm at a lose, and this is an important project since its for my BA Capstone. So if I can understand this better on how the mouse up and down works in NGUI better that would be great. I'm not looking for anyone to code it for me. I'm just looking for someone to point me in a better direction, and please the docs, for this is a little confusing since onRelease is not used from what I read.
Thanks for any info.