void FingerGestures_OnFingerTap(int fingerIndex, Vector2 fingerPos, int tapCount) { TBTap tapComp = PickComponent <TBTap>(fingerPos); if (tapComp) { tapComp.RaiseTap(fingerIndex, fingerPos, tapCount); } }
void FingerGestures_OnFingerDoubleTap(int fingerIndex, Vector2 fingerPos) { TBTap tapComp = PickComponent <TBTap>(fingerPos); if (tapComp && tapComp.enabled && tapComp.tapMode == TBTap.TapMode.DoubleTap) { tapComp.RaiseTap(fingerIndex, fingerPos); } }