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 - rain

Pages: 1 ... 4 5 [6]
76
NGUI 3 Support / Re: Colliders being quite strange
« on: April 26, 2012, 10:47:48 AM »
I looked up the nguitools script, but i don't understand how would i be able to position the collider properly after adding it. Could you explain it please? ;D

Edit:
I figured it out, thank you for your help :)

77
NGUI 3 Support / Colliders being quite strange
« on: April 25, 2012, 12:57:24 PM »
Hi!

I'm having a problem with colliders being positioned poorly.
My setup looks like this:

*UI Root(3D)
**Camera
***Anchor_Top
***Pause_Menu
****Label
****Quit
****Restart
****Resume
****SlicedSprite(Box)

The Quit,Restart and Resume gameObjects are "buttons", so they have box colliders on them.

The pause menu is normally hidden by having its objects' color alpha set to 0, plus the button game objects
 are rotated by 60 on the X angle.

When the player presses the pause buttons, the alpha values return to normal so they can be seen, and the button game objects get rotated back to (0,0,0) with a TweenRotation called by the pause button.

My problem is that the colliders seem to only be effective in a thin(approx. 15 pixels) line. Its like that the collider hasn't rotated back with the gameObjects, but the editor shows that it's all right.

In play mode, after I change the boxcolliders' positions manually, the colliders behave normally. This doesn't work if i change it in edit mode then hit play... the buttons only receive events in a line.
On the other hand, if I change the values via code, it doesn't seem to have any effect, regardless that it's runtime like when i change the values in play mode with the editor.

I really have no idea what to do, please help!

78
NGUI 3 Support / Re: Upgrading 2.0.1B exception
« on: April 17, 2012, 10:01:27 AM »
Hi!
I'm experiencing the same problem, i updated the NGUI while having my main project open.
Now this error message keeps coming up when i stop the editor play mode.
How can I get rid of it?  :D

79
NGUI 3 Support / Re: Recommended way to handle large textures
« on: April 16, 2012, 09:09:06 AM »
Is each UITexture draw a plus draw call?

Pages: 1 ... 4 5 [6]