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

Pages: [1]
1
NGUI 3 Support / Re: Disabling hover states for mouse
« on: March 09, 2015, 07:08:58 PM »
Ah, looks like I need to change the sprite on the UIButton using

uiButton.normalSprite = newSprite

instead of changing it on the UISprite component. My guess is that UIButton wants to control the sprite for hover states and things?

2
NGUI 3 Support / Disabling hover states for mouse
« on: March 09, 2015, 07:04:15 PM »
Hi,

I'm trying to make it so that "select" highlights on my buttons are only controlled by the keyboard and not mouse hover. I'm manually setting a sprite change on the UISprite on keyboard events, but moving the mouse over the button seems to "revert" the button to its default sprite. Am I missing something here?

Thanks!

3
NGUI 3 Support / Re: UIScrollbar speed
« on: March 03, 2015, 05:39:27 PM »
Nevermind, figured it out! I set the size of the widget instead of the size of the gameobject.

4
NGUI 3 Support / Re: UIScrollbar speed
« on: March 03, 2015, 05:36:55 PM »
All ancestors of the Scrollbar are scale (1,1,1). The background and foreground objects itself both have scales (0.1, 7, 1), maybe that's what's messing it up. Is there a way to change the size of the scrollbar without messing with scroll speed?

5
NGUI 3 Support / UIScrollbar speed
« on: March 02, 2015, 01:46:24 PM »
I've figured out how to control the speed of scrolling on UIScrollView with "Scroll wheel factor", but when I click and drag the scrollbar it seems to move faster than the mouse does. Is there a setting I'm missing somewhere? Thanks!

Pages: [1]