大约有 3 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0014 秒)
...elocityY * 3 }; Laya.Laya.timer.frameOnce(120, this, function () { newBall.destroy(); }); }); let label = this.label = Laya.Laya.stage.addChild(new Laya.Label("单击屏幕产生新的小球刚体,击向bridge的随机位置")); label.top = 20; label.right = 20; label.fontSize = 16; label.color = ...
来源: Laya2.0_示例 发布时间: 20241117
...elocityY * 5 }; Laya.Laya.timer.frameOnce(120, this, function () { newBall.destroy(); }); }); let label = this.label = Laya.Laya.stage.addChild(new Laya.Label("双击屏幕,仿生机器人向相反方向运动\n单击产生新的小球刚体")); label.top = 20; label.right = 20; label.fontSize = 1...
来源: Laya2.0_示例 发布时间: 20241117
...useJoint: MouseJoint = this.curTarget.getComponent(MouseJoint); mouseJoint.destroy(); this.curTarget = null; } dispose() { Laya.stage.off(Event.MOUSE_MOVE, this, this.mouseMove); Laya.stage.off(Event.MOUSE_UP, this, this.mouseUp); Laya.stage.off(Event.MOUSE_OUT, this, this.mouseUp); Laya.stage.off(E...
来源: Laya2.0_示例 发布时间: 20241117