Example #1
0
    /// tool
    protected bool Young(TouchManager.IFingerList touches)
    {
        TouchManager.Finger oldestTouch = touches.GetOldest();
        if (oldestTouch == null)
        {
            return(false);
        }
        float elapsedTimeSinceFirstTouch = UnityEngine.Time.time - oldestTouch.StarTime;

        return(elapsedTimeSinceFirstTouch < 0.25f);
    }