Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you may not be able to execute some actions.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
请问如何让制作 类似解谜游戏中 拖动道具到固定位置使用呢 类似拖动钥匙 到 锁扣 达到解锁目的
给道具加拖拽能力,然后写事件判断松开拖拽时,道具是否与触发使用的范围重叠,如果重叠,触发使用效果,如果不重叠,将道具设置回拖拽前的位置