up and down touch input unity code example Example: recognizing touch input unity if (Input.touchCount > 0) { }