Carousel Toggler
For Unity 5 GUI
Still working in 2020!
Get fast support via email link ...
by As Per Spec
★★★★ star rating
Price History +
Still working in 2020!
Get fast support via email link below!
Easily setup a snapping scrollable object, filled with anything and with any structure, in any orientation. The scroll will snap to the nearest child toggle. Highly stable and flexible!
2.5: EVENTS and NEIGBORS ONLY RESTRICTOR
2.3: EMBED A HORIZONTAL CAROUSEL IN A VERTICAL SCROLLRECT (or a vertical carousel in a horizontal scrollrect) -- excample scene provided!
2.2: Fixes to pivot math, now non-stick mode works properly in edge items
2.1: Added a switch for scaled/unscaled time
2.0: Rotator now wraps and provides a method to manually trigger a step! see the new Counter example
1.9.1: inertia is now more reliable
1.9 UPDATE! same price, more features!
TWO NEW EXAMPLE SCENES:
-CASINO SLOTS
-WRAPFIELD
NEW FEATURES:
-Neighbors only will look at the sorted list of toggles and only pick between current,previous or next.
-Now snapping respects the ScrollRect.
-Horizontal/Vertical movement setting.
-Snap toggle: You may disable snapping while keeping the other features.
-Inertia: Just like ScrollRect, this had to be done so it plays nice with wrapping
-Wrapping: Wrap horizontally or vertically while dragging or while sliding
-Reveal: If your ScrollRect has a Mask, this will disable it while you're dragging. Good for combo boxes.
-AddImpulse endpoint: To apply speed in code
-Stop endpoint: To stop sliding in code
-moving property: To find out if the slider is moving on it's own (either sliding or on the way to the closest toggle)
Features:
-3 Prefabs for quick start
-Make a standard ScrollRect snap to and turn on any child Toggles it may have.
-Horizontal, vertical, bidirectional snapping using any UI elements nested inside.
-Fully compatible with uGUI standard scrollbars.
-Canvas Scaler support.
-Screen space or world space, rotated, scaled.
-Runtime rotation, scaling, translation support (it doesn't break!)
-Bonus Carousel Rotator cycles your toggles, working even if you add/remove toggles dynamically.
-Bonus Carousel Transfer Scrolling lets you embed a horizontal carousel in a vertical scrollrect and scroll both at the same time as requested!
CAVEATS:
-wrap is underdeveloped: setup of dummy objects for seamless wrap is manual and distance calculations for choosing where to snap to are not accounting for wrap, causing the wrong toggle to be picked when releasing drag near the wrapping edge. This has been difficult to fix.