Difference between revisions of "AutoScrollWithOverride Demo"

From Headbone Creative
Jump to: navigation, search
(Initial page)

Revision as of 02:52, 14 April 2013

This demo page shows how to use the AutoScrollWithOverride script. In general, the script is designed to control a 2d text area. In the demo scene, the script is attached to the container with a bunch of 3d text objects. The script has a number of buttons that allow you to save and restore and the boundary positions. When the container is dragged beyond the boundary, it uses an inverse distance ratio to determine how far to allow the container can be dragged. When the container is let go outside the boundary, it springs back to the boundary. The net result is that it ends up acting like pages on iOS.

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox