TouchScript FlickGesture direction detection.

So for anyone who’s familiar with the TouchScript pack, I’m having a little trouble here. I’m about to move into doing detailed touch detection alongside it, but I wanted to make sure that I was missing something first. I have a flick gesture set up and working, however, the GestureDirection enum only trackes horizontal or vertical, while I need to access left or right. I’ve been reading the FlickGesture.cs for awhile, but it seems that any useable data to determine that is either private or cleaned up immediately. So I guess the question is, is there a built in way to know if a flick is left or right or will I have to detect start and end touch positions to determine that myself?

Figured it out by using the Gesture.cs NormalizedScreenPosition, and PreviousNormalizedScreenPosition.

How exactly did you do that? I’m trying to work out how to get the direction and velocity of a flick, odd how this is not included in the package

This is how i manged to do it .
Attach flick gesture component to game object and give its reference to panelGesture variable

public FlickGesture panelGesture;
 bool isPanelFlickDown;

void Start () {

        panelGesture.Flicked += panel_Flicked;


    }

    private void panel_Flicked(object sender, System.EventArgs e)
    {
        if (isPanelFlickDown)
        {
            ClosePanel();
        }
     
    }

    // Update is called once per frame
    void Update () {
        if (panelGesture.PreviousScreenPosition.y> panelGesture.ScreenPosition.y)
        {
            isPanelFlickDown = true;
        }
        else if(panelGesture.PreviousScreenPosition.y < panelGesture.ScreenPosition.y)
        {
            isPanelFlickDown = false;
        }

   }