C# Class TouchScript.Gestures.PinnedTransformGesture

Inheritance: TouchScript.Gestures.Base.PinnedTrasformGestureBase, ITransformGesture
Show file Open project: DRMold/HungryHungryTetris Class Usage Examples

Public Methods

Method Description
ApplyTransform ( Transform target ) : void

Protected Methods

Method Description
Awake ( ) : void
OnEnable ( ) : void
clearDebug ( ) : void
drawDebug ( Vector2 point1, Vector2 point2 ) : void
touchesBegan ( IList touches ) : void
touchesEnded ( IList touches ) : void
touchesMoved ( IList touches ) : void

Private Methods

Method Description
doRotation ( Vector3 center, Vector2 oldScreenPos, Vector2 newScreenPos, TouchScript.Layers.ProjectionParams projectionParams ) : float
doScaling ( Vector3 center, Vector2 oldScreenPos, Vector2 newScreenPos, TouchScript.Layers.ProjectionParams projectionParams ) : float
updateProjectionPlane ( ) : void

Method Details

ApplyTransform() public method

public ApplyTransform ( Transform target ) : void
target UnityEngine.Transform
return void

Awake() protected method

protected Awake ( ) : void
return void

OnEnable() protected method

protected OnEnable ( ) : void
return void

clearDebug() protected method

protected clearDebug ( ) : void
return void

drawDebug() protected method

protected drawDebug ( Vector2 point1, Vector2 point2 ) : void
point1 Vector2
point2 Vector2
return void

touchesBegan() protected method

protected touchesBegan ( IList touches ) : void
touches IList
return void

touchesEnded() protected method

protected touchesEnded ( IList touches ) : void
touches IList
return void

touchesMoved() protected method

protected touchesMoved ( IList touches ) : void
touches IList
return void