Closed GijsTempel closed 5 years ago
Swiping horizontally will try to combine items in hands. If there's only one item (or none) - it will create a tablet message - warning, to explain that player cannot combine an item with nothing (or nothing with nothing) and do nothing.
GestureControls.cs:82-84 is where you can modify this message.
Adding swipe left/right for combining objects. When player has two objects in hands to combine. If the player then swipes left/right. Combine action should be called.
If I am not mistaken, the tapgestures also work with the mouse. See documentation below. Also there are a lot of demoscenes and code in the ' Fingers' folder. Demo scene;DemoSceneSwipe
https://app.zenhub.com/files/70799427/708043cb-5dae-4527-90e4-bc63c700d58e/download