void __touchBegin(EventContext context)
{
context.StopPropagation();
InputEvent evt = context.inputEvent;
Vector2 pt = _grip.GlobalToLocal(new Vector2(evt.x, evt.y));
if (_vertical)
{
if (pt.y < 0)
{
_target.ScrollUp(4, false);
}
else
{
_target.ScrollDown(4, false);
}
}
else
{
if (pt.x < 0)
{
_target.ScrollLeft(4, false);
}
else
{
_target.ScrollRight(4, false);
}
}
}