大约有 1 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0009 秒)
...this.onMouseUp); Laya.stage.off(Event.MOUSE_OUT, this, this.onMouseUp); // 滑动到目的地 let dist = Laya.stage.mouseX - buttonPosition; let targetX = beginPosition; if (dist > TOGGLE_DIST) { targetX = endPosition; } Tween.to(this.button, { x: targetX }, 100); } } new Interaction_Swipe();module ...
来源: Laya2.0_示例 发布时间: 20241118