protected void HandleViewTool(Event evt, EventType eventType, int id, Rect previewRect)
{
switch (eventType)
{
case EventType.MouseDown:
this.HandleMouseDown(evt, id, previewRect);
break;
case EventType.MouseUp:
this.HandleMouseUp(evt, id);
break;
case EventType.MouseDrag:
this.HandleMouseDrag(evt, id, previewRect);
break;
case EventType.ScrollWheel:
this.DoAvatarPreviewZoom(evt, HandleUtility.niceMouseDeltaZoom * (!evt.shift ? 0.5f : 2f));
break;
}
}