找回密码
 立即注册
搜索

[编辑器/功能拓展] DragRigidBody2D 0.5

[复制链接]
156 |0
发表于 2023-10-11 17:15:31 | 显示全部楼层 |阅读模式






This package will get you up and dragging RigidBody2D game objects around in under 5 minutes. It is as simple as attaching a script to your camera, tweaking a few values, and deciding which layers should be draggable. It's that easy! Works on Standalone (PC and Mac), webplayer, and mobile platforms.

Options include:
- Multiple drag layers
- Drag hook events such as OnStartDrag and OnStopDrag
- Drag damping
- Rotation freezing
- Snapping to center
- Drag relative to another rigid body


这个包会让你在5分钟内拖拽RigidBody2D游戏对象。这很简单,只需将脚本附加到相机上,调整一些值,并决定哪些图层应该可拖动。就这么简单!适用于单机(PC和Mac),网络播放器和移动平台。

选项包括:
-多个拖动图层
-拖拽钩子事件,如OnStartDrag和OnStopDrag
-减阻
-旋转冻结
-弹起到中心
-相对于另一个刚体拖动





回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

快速回复 返回顶部 返回列表