public void Touch_OnSwipe(object sender, directionMoveArgs e) { // add logic to handle the touch swipe here swipeDirection = e.direction; // the time deley before resetting the swipeDirection -1 doesn't reset the swipe if (swipeDeley > -1) { StartCoroutine(SwipeRest()); } }
private void TouchInput_OnSwipe(object sender, directionMoveArgs e) { Debug.Log("Swiper: " + e.direction); }
//Place your public methods here #endregion #region Private Methods //Place your public methods here private void TouchInput_OnSwipe(object sender, directionMoveArgs e) { dir = e.direction; }