SwipeAction

FREE
Publisher Chazix Scripts
File size 627.75kB
Number of files 68
Latest version 1
Latest release date 2014-05-14 12:59:11
First release date 2012-10-22 10:45:52
Supported Unity versions 2018.4.2 or higher
Click Here | Video for more in-depth information.

This Swipe Action package contains scripts relating to manipulating touch inputs through a hand held device. A desktop testmode is included in order to visualize the different aspects of the package using the mouse inputs.

A particular swipe is visualized through a trail renderer, which the swipe direction is determined through a script determining the average direction. Multi-touch swiping is also supported; as seen within this package, it is possible to both move using the controller and use either the provided melee or ranged function.

Both an orthographic and 3D perspective viewframe examples are included. The movement controller is set to move a long the x-z plane, but with simple modification any of the aspects can be changed to your liking. The gui can be changed to be visualized in either a Portrait or Landscape orientation.

Top Publisher Assets