SwaperController
This Unity script allows a 2D GameObject to move smoothly in response to swipe gestures on mobile devices. The object moves by a fixed distance (e.g. 0.5 units) in the direction of the swipe (up, down, left, right) using Vector3.Lerp for smooth transitions. Ideal for grid-based or gesture-controlled movement in mobile games.
Link
2
作者: III4SHKA
最近提交:4 个月前
创建时间:2025.05.28
下载
推荐合辑
  • 「今日推荐」合辑
    by 喵小逗
  • UI拓展
    by 胡林超
  • K神出品,必然很好看
    by 喵小逗
  • 开发加速器
    by 贾伟昊(董夕)
  • 动画与仿真
    by uwa_Ren