Need to detect swipes for your unity mobile game or app? This simple script will let you do that in a clean maintainable way. Detect swipes for your android or ios devices in your Unity game with a simple event callback… all reading Input.Touches underneath.
Download the source as a UnityPackage here: https://unity3dcollege.blob.core.windows.net/site/Downloads/SwipeDetection.unitypackage