Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: bobobo on July 18, 2016, 02:36:51 AM
-
I'm using NGUI3.6.0
There is a sumery about the event In UICamera.cs file, which said:
--OnHover (isOver) is sent when the mouse hovers over a collider or moves away.
--OnSelect (selected) is sent when a mouse button is released on the same object as it was pressed on.
However, when I Click on a gameObject, I got the following events:
-OnHover true (hover in)
-OnPress true (push down)
-OnSelect true (push down, not release yet. But I think OnSelect should be called after "OnPress false")
-OnPress false (release)
-OnHover true (release, why there is a OnHover called?)
-OnClick
-OnHover (hover out)
-
I don't know, you have a really old version of NGUI. I can't support such an old version.