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

Pages: [1]
1
NGUI 3 Support / UIGrid: Disable repositioning animation
« on: April 06, 2014, 04:50:25 PM »
I would like to disable the UIGrid's animation during repositioning. (items tweening to their intended positions). I would prefer they just simply appear there.
How do I achieve this?

2
NGUI 3 Support / 3.5.5 ScrollView not working
« on: March 28, 2014, 02:52:22 AM »
This has been a rather frustrating day getting scrollview to work on my Unity 3.x (latest 3.x version)
This used to be easier until after a lot of changes.

  • I create a 2d ui from ngui menu
  • I create a scrollview from said menu. Scrollview pops up under ui root
  • I create some widgets, wrap in an empty game object, attach box collider and a ui dragscrollview component to each game object
  • I make the scrollview the parent of all these objects. I see clipping when I do

From this point I should be able to drag things around to scroll, but I can't. It just ignores all forms of dragging and hence cannot scroll.
Direction has nothing to do with it as it doesn't scroll to any direction.

3
Ah found it.  :D
The scale setting in UIDraggablePanel had x,y,z set to 1. I made sure only x was set to 1 and all is well now. :)

4
NGUI 3 Support / How do I restrict the scrollview to just horizontal?
« on: June 13, 2012, 04:40:35 PM »
I have created a clipped panel scrollview following closely Example 7, Everything works except for one thing....When I swipe, it seems to not be restricted to just Horizontal.

It considers the vertical swipe velocity when moving the grid components around. How do I force it to NOT do this and just only use horizontal swipe?

Pages: [1]