DigitalRubyShared Namespace |
Class | Description | |
---|---|---|
DemoAsteroidScript |
Simple script that destroys an object when it is not visible anymore
| |
DemoScript |
The DemoScene demo script
| |
DemoScript3DOrbit |
Demo script for 3d orbit
| |
DemoScriptComponent |
Demo script component, allows easily adding a gesture through Unity components
| |
DemoScriptDimmingView |
Allows hiding a dimming view
| |
DemoScriptDPad |
DPad demo script
| |
DemoScriptDragSwipe |
Demo a drag and swipe away
| |
DemoScriptDynamicGrid |
A dynamic grid that lays itself out in rows and columns
| |
DemoScriptImage |
Demo script that matches a drawn image
| |
DemoScriptJoystick |
Joystick demo script
| |
DemoScriptMoveFire |
Move and fire demo script
| |
DemoScriptMultiDrag |
Multi-drag component script
| |
DemoScriptMultiFingerTap |
Multiple finger at once tap demo script
| |
DemoScriptOneFinger |
One finger rotate and scale demo script
| |
DemoScriptPan |
Pan demo script
| |
DemoScriptPlatformSpecificView |
Platform specific view demo script
| |
DemoScriptRaycast |
Demo raycast script, checks a tap and sees which object was tapped
| |
DemoScriptSwipe |
Swipe demo script
| |
DemoScriptTapAndDoubleTap |
Tap and double tap demo script
| |
DemoScriptVirtualTouches |
This demo script shows how to implement virtual touches. Mapping AR, VR or any other input system to fingers is super easy.
Please look over all the TODO: in this script.
| |
DemoScriptZoomableScrollView |
Scrollview demo script
| |
DemoScriptZoomPanCamera |
Zoom pan demo script
| |
DeviceInfo |
Contains device information
| |
FingersCameraMove3DComponentScript |
Allows moving a camera in 3D space using pan, tilt, rotate and zoom mechanics
| |
FingersCrossPlatformInputReflectionScript |
Allow interacting with cross platform input without knowing whether the cross platform input script is in the project
| |
FingersDPadScript |
Represents a dpad that can be used just like a real-controller with 4 directions
| |
FingersDragDropComponentScript |
Allows a long tap and hold to move an object around and release it at a new point. Add this script to the object to drag.
| |
FingersFirstPersonControllerScript |
First person controller that allows using pans and taps to move and jump
| |
FingersImageAutomationScript |
Wraps the fingers image gesture in a way that allows easy and quick creation of multiple image gestures
| |
FingersImageGestureHelperComponentScript |
A little higher level script that includes an option to allow line renderers to draw the path for you.
You can leave the line renderers and match text as null if you will be drawing your own lines
and text for when there is a match.
| |
FingersJoystickAnywhereComponentScript |
The joystick anywhere script creates a virtual joystick wherever the pan starts. This acts as the joystick center until finger lifts.
When a new pan starts, the new joystick center is wherever that pan started.
| |
FingersJoystickScript |
Represents a joystick that can move in arbitrary direction or 8 axis
| |
FingersMultiDragComponentScript |
Allows dragging multiple objects with just one gesture
| |
FingersOneTouchScaleAxisComponentScript |
Unity component that wraps a one finger scale gesture
| |
FingersPanARComponentScript |
Useful script for using a pan gesture to move an object forward or back along z axis using pan up and down
and left or right using pan left or right
| |
FingersPanOrbitComponentScript |
Allows orbiting a target using a pan gesture to drag up and down or left and right to orbit, and pinch to zoom in and out
| |
FingersPanRotateScaleComponentScript |
Allows two finger pan, scale and rotate on a game object
| |
FingersPlatformMoveJumpComponentScript |
Allow controlling a rigid body in 2D with jump, move and drop through platform ability
| |
FingersRotateCameraComponentScript |
Allows rotating a transform using a pan gesture, allowing the transform to be rotated around using left/right or up/down pans.
| |
FingersRotateOrbitComponentScript |
Allows rotating around a target using a two finger rotation gesture
| |
FingersScript |
The main Unity fingers script - only one of these should exist. FingersScript.Instance gives you easy access to add and remove gestures.
| |
FingersScrollViewComponentScript |
Represents a scroll view, very similar to UIScrollView from UIKit.
| |
FingersThirdPersonControllerScript |
A third person controller that allows movement and jumping
| |
FingersUtility |
Utility methods
| |
FingersZoomPanCameraComponentScript |
Allows zooming and panning a camera using pan and scale gestures. A tap gesture is also included to force the camera to look at the tapped object.
| |
GestureLogger |
Logger for gestures
| |
GestureRecognizer |
A gesture recognizer allows handling gestures as well as ensuring that different gestures
do not execute at the same time. Platform specific code is required to create GestureTouch
sets and pass them to the appropriate gesture recognizer(s). Creating extension methods
on the DigitalRubyShared.GestureRecognizer class is a good way.
| |
GestureRecognizerComponentEvent |
Gesture recognizer component event
| |
GestureRecognizerComponentEventVector2 |
Gesture recognizer component event with Vector2
| |
GestureRecognizerComponentScriptT |
Base class for component gesture scripts with a type of gesture
| |
GestureRecognizerComponentScriptBase |
Base class for component gesture scripts
| |
GestureRecognizerComponentStateUpdatedEvent |
Update event for gesture recognizers
| |
GestureVelocityTracker |
Tracks and calculates velocity for gestures
| |
ImageGestureImage |
Represents an image that can be drawn with a gesture - when you get a valid image you care about, it is good practice to call Reset on this gesture.
| |
ImageGestureRecognizer |
Attempts to create an image out of the gesture and compare with a set of images
| |
ImageGestureRecognizerComponentScript |
Allows recognizing gestures that match the pattern of an image
| |
LongPressGestureRecognizer |
A long press gesture detects a tap and hold and then calls back for movement until
the touch is released
| |
LongPressGestureRecognizerComponentScript |
Wraps a long press gesture in a component
| |
OneTouchRotateGestureRecognizer |
Allows rotating an object with just one finger. Typically you would put this on a button
with a rotation symbol and then when the user taps and drags off that button, something
would then rotate.
| |
OneTouchRotateGestureRecognizerComponentScript |
Wraps a one touch rotate gesture in a component
| |
OneTouchScaleGestureRecognizer |
Allows scaling with a single touch
| |
OneTouchScaleGestureRecognizerComponentScript |
Warps a one touch scale gesture in a component
| |
PanGestureRecognizer |
A pan gesture detects movement of a touch
| |
PanGestureRecognizerComponentScript |
Wraps a pan gesture in a component
| |
RotateGestureRecognizer |
A rotate gesture uses two touches to call back rotation angles as the two touches twist around a central point
| |
RotateGestureRecognizerComponentScript |
Wraps a rotate gesture in a component
| |
ScaleGestureRecognizer |
A scale gesture detects two fingers moving towards or away from each other to scale something
| |
ScaleGestureRecognizerComponentScript |
Wraps a scale gesture in a component
| |
SwipeGestureRecognizer |
A swipe gesture is a rapid movement in one of five directions: left, right, down, up or any.
| |
SwipeGestureRecognizerComponentScript |
Wraps a swipe gesture in a component
| |
TapGestureRecognizer |
A tap gesture detects one or more consecutive taps. The ended state denotes a successful tap.
| |
TapGestureRecognizerComponentScript |
Wraps a tap gesture in a component
|
Structure | Description | |
---|---|---|
GestureTouch |
Contains a touch event
| |
ImageGestureRecognizerComponentScriptImageEntry |
Entry for an image gesture
|
Delegate | Description | |
---|---|---|
GestureRecognizerCallbackMainThreadDelegate |
Main thread callback
| |
GestureRecognizerStateUpdatedDelegate |
Gesture recognizer state change event - gesture.CurrentTrackedTouches contains all of the current touches
| |
GestureRecognizerUpdated |
Obsolete, use GestureRecognizerStateUpdatedDelegate
|
Enumeration | Description | |
---|---|---|
FingersDPadItem |
DPad item
| |
FingersPanOrbitComponentScriptPanOrbitMovementType |
Types of movement
| |
FingersPanRotateScaleComponentScript_DoubleTapResetMode |
Double tap reset mode
| |
FingersScriptGestureLevelUnloadOption |
Gesture level unload option
| |
GestureRecognizerComponentScriptBaseGestureObjectMode |
Different types of object modes for component gestures
| |
GestureRecognizerState |
Gesture recognizer states
| |
SwipeGestureRecognizerDirection |
Swipe gesture directions - assumes 0,0 is in the bottom left
| |
SwipeGestureRecognizerEndMode |
Swipe gesture recognizer end mode
| |
TouchPhase |
Touch phases
|