void Start() { var swipeDetector = UISwipeDetector.create(new Rect(0, 0, Screen.width, Screen.height), 1); swipeDetector.onSwipe += detectedSwipe; }