大约有 140 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0061 秒)
Laya_社区(86) Laya_示例(13) Laya2.0_文档(12) Laya2.0_示例(10) Laya2.0_api(6) laya_api(6) Laya3.0_文档(6) Laya3.0_api(1)
...tate(new Laya.Vector3(-45, 180, 0), true, false); Laya.stage.on(Laya.Event.MOUSE_UP, this, function () { this.index = 0; //获取每次生成路径 this._everyPath = pathFingding.findPath(this.path[this.curPathIndex % this.pointCount].x, this.path[this.curPathIndex++ % this.pointCount].z, this.path[...
来源: Laya_示例 发布时间: 20251130
...FF40"; Laya.stage.addChild(label); //鼠标事件 Laya.stage.on(Laya.Event.MOUSE_UP, this, function () { var str = ""; for (var i = 0; i ; private camera: Laya.Camera; private label: Laya.Label; constructor() { Laya3D.init(0, 0, true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenM...
来源: Laya_示例 发布时间: 20251130
...加鼠标抬起事件侦听。抬起时还原按钮。 this.on(Laya.Event.MOUSE_UP,this, this.scaleBig); //添加鼠标离开事件侦听。离开时还原按钮。 this.on(Laya.Event.MOUSE_OUT,this, this.scaleBig); } scaleBig() { //变大还原的缓动效果 Laya.Tween.to(this,{scaleX:1,scaleY:1},...
来源: Laya2.0_文档 发布时间: 20210715
...on(Laya.Event.MOUSE_MOVE, this, this.scrollText); Laya.stage.on(Laya.Event.MOUSE_UP, this, this.finishScrollText); } /* 停止滚动文本 */ finishScrollText() { Laya.stage.off(Laya.Event.MOUSE_MOVE, this, this.scrollText); Laya.stage.off(Laya.Event.MOUSE_UP, this, this.finishScrollText); } /* 鼠...
来源: Laya3.0_文档 发布时间: 20251010
....MOUSE_MOVE, this, this.onTouchMove); Laya.stage.on(Laya.Event.MOUSE_UP, this, this.onTouchEnd); Laya.stage.on(Laya.Event.MOUSE_OUT, this, this.onTouchEnd); } private onTouchStart(e: Laya.Event) { // 如果摇杆被禁用,不处理任何事件 ...
来源: Laya_社区 发布时间: 20251125
....3 新增 MOUSE_DRAG和MOUSE_DRAG_END3.4 删除了RIGHT_MOUSE_DOWN和RIGHT_MOUSE_UP3.5 事件汇总4、LayaAir3.0 组件系统修改5、Runtime的使用差异6、2D动画2.0引擎开发者使用3.0的差异汇总 Author:谷主 && Charley [!Note] 本篇文档仅适用3.0以前的旧版引...
来源: Laya3.0_文档 发布时间: 20251010
...会啊!我测试了一下并没有你说的问题! this.stage.on(Event.MOUSE_UP, this, onB); private function onB():void { Laya.SoundManager.playSound("res/sound/onClick.wav"); } 你看看是不是你的代码逻辑有问题那? 2018-05-03 0 2...
来源: Laya_社区 发布时间: 20180503
...路径数据 ```typescript //监听鼠标抬起 Laya.stage.on(Laya.Event.MOUSE_UP, this, function() { this.index = 0; //获取每次生成路径 this.getGridIndex(this.path[this.curPathIndex % this.pointCount].x, this.path[this.curPathIndex++ % this.pointCount].z, this.startPoint); this.getGridIndex...
来源: Laya2.0_文档 发布时间: 20210714
...路径数据 ```typescript //监听鼠标抬起 Laya.stage.on(Laya.Event.MOUSE_UP, this, function() { this.index = 0; //获取每次生成路径 this.getGridIndex(this.path[this.curPathIndex % this.pointCount].x, this.path[this.curPathIndex++ % this.pointCount].z, this.startPoint); this.getGridIndex...
来源: Laya2.0_文档 发布时间: 20210715
...加鼠标抬起事件侦听。抬起时还原按钮。 this.on(Laya.Event.MOUSE_UP,this, this.scaleBig); //添加鼠标离开事件侦听。离开时还原按钮。 this.on(Laya.Event.MOUSE_OUT,this, this.scaleBig); } private scaleBig():void { //变大还原的缓动效果 Laya.Tween.to(this, {scale...
来源: Laya2.0_文档 发布时间: 20210715