Swipe Action

Swipe Action The Swipe Action system has been designed around the Android platform, to allow for swipe direction determination. Swipe DirectionsUp, Up Right, Right, Down Right, Down, Down Left, Left, Up Left, Single Point and Undefined are the different detected directions. With this, you can manipulate your game world to react to the different swiping directions, the swiping is visualized with a trail renderer. These different manipulations can be applied within the provided PlayerController.cs class object. This class object in general, contains all the code relating to the specific MainPlayer functionality, that the script is attached to. Continue reading