This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
public class SwipeInput : MonoBehaviour { | |
public const float MAX_SWIPE_TIME = 1f; | |
public const float MIN_SWIPE_DISTANCE = 0.17f; | |
public static bool swipedRight = false; | |
public static bool swipedLeft = false; |