1
NGUI 3 Documentation / Re: UIButton
« on: August 11, 2014, 03:24:18 AM »
Hi guys, I'm working out UIButtons at the moment. I've set a UISprite on the same element as my UIButton, and set the colours (for normal, hover, pressed, disabled) in UIButton.
The colours/states work if I put a Box Collider on the object, but not if I use a Box Collider 2D. Is there a reason UIButton needs to have a non-2D collider? It seems strange to me. Am I doing something wrong, or have I misunderstood some functionality?
The colours/states work if I put a Box Collider on the object, but not if I use a Box Collider 2D. Is there a reason UIButton needs to have a non-2D collider? It seems strange to me. Am I doing something wrong, or have I misunderstood some functionality?
