public OnPinch ( PinchGesture, gesture ) : void | ||
gesture | PinchGesture, | |
return | void |
void OnPinch( PinchGesture gesture )
{
if( allowPinchZoom )
{
IdealDistance -= gesture.Delta * pinchZoomSensitivity;
nextDragTime = Time.time + 0.25f;
}
}