大约有 1,218 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0080 秒)
Laya_社区(677) Laya3.0_api(153) laya_api(104) Laya2.0_api(96) Laya2.0_文档(63) Laya2.0_示例(44) Laya_示例(42) Laya3.0_文档(39)
...ia1.loading_desc.text = "可在小秘境挂机获取" dia1.confirm.on(Laya.Event.MOUSE_UP, this, dai1, [dia1]) dia1.popup() // this.big_map.selectedIndex = 0 } } } 两个列表,手动选择会触发,没有问题,但如果在下面加一个修改下拉数据的 this.small_map.labels = “1,2...
来源: Laya_社区 发布时间: 20180719
...WALL; Laya.stage.bgColor = "#232628"; this.createMap(); Laya.stage.on(Laya.Event.CLICK, this, this.onStageClick); } createMap() { const TiledMap = Laya.TiledMap, Rectangle = Laya.Rectangle; this.tiledMap = new TiledMap(); this.tiledMap.createMap("res/tiledMap/perspective_walls.json", new Rectangle(0...
来源: Laya2.0_示例 发布时间: 20260303
...器还在继续调用回调,并没有报错。this.StartToRound.on(Laya.Event.CLICK,null,function(){ Laya.timer.loop(10,this,round);//10ms 一秒100次 }); //转动逻辑 function round(){ tlate.rotation+=roundTurnChange(1); console.log(tlate.rotation); } //转动变量变化 function roundTurnCha...
来源: Laya_社区 发布时间: 20160718
...load("3d/ben/Export.lh"); scene.addChild(this.role3D); this.role3D.on(Laya.Event.HIERARCHY_LOADED,this,function(){ this.role3D.transform.scale = new Laya.Vector3(0.7,0.7,0.7); this.role3D.transform.position = new Laya.Vector3(0,1.2,0); } 2018-03-09 0 0 分享 微博 QZONE 微信 qian 赞同来自...
来源: Laya_社区 发布时间: 20180309
... at e.playSound\n at e.onRandBtnDown\n at e.runWith\n at i.event \n at t.e.sendEvents \n at t.e.onMouseDown 我们游戏的线上前端日志发现了很多类似上述的错误日志,使用Laya自带的SoundManager音乐播放器有浏览器的兼容性问题,出现这...
来源: Laya_社区 发布时间: 20180902
...象的属性 y 的值,用于控制 clip 对象的显示位置。 clip.on(Event.CLICK, this, onClick);//给 clip 添加点击事件函数侦听。 Laya.stage.addChild(clip);//将此 clip 对象添加到显示列表。 } private function onClick():void { trace("clip 的点击事件侦听处理函数...
来源: Laya3.0_api 发布时间: 20231115
...awRect(0, 0, Laya.stage.width, Laya.stage.height, "#000000"); mask.on(Laya.Event.CLICK,this,chick); function chick(){ mask.destroy(); gameContainer.destroy(); } gameContainer.mask=mask; Laya.stage.addChild(gameContainer); })(); })(); 附件 : --> 2020-06-03 添加评论 免费帖 --> 分...
来源: Laya_社区 发布时间: 20200603
...ds Packagelaya.d3.coreClasspublic class TransformUVInheritanceTransformUV EventDispatcher ObjectImplements laya.d3.core.IClone TransformUV 类用于实现UV变换。 Public Properties PropertyDefined By matrix : Matrix4x4[read-only] 取变换矩阵。 TransformUV offset : Vector2 取偏移...
来源: laya_api 发布时间: 20170929
...实是在UI界面里定义的setbtn,赋给setbtn全局的, setbtn.on(Event.MOUSE_UP,this,this.onSet); 这个做了事件监听。。现在我想移除当前界面,那么这个全局变量是否会自动消除监听并且销毁呢?不仅仅是移除舞台,是整个销毁掉。。我现在...
来源: Laya_社区 发布时间: 20181121
...l Classes | Index | Frames No Frames MovieClipProperties | Methods | Events Packagelaya.ani.swfClasspublic class MovieClipInheritanceMovieClip Sprite Node EventDispatcher Object MovieClip 用于播放经过工具处理后的 swf 动画。 Public Properties Hide Inherited Public Properties Sho...
来源: Laya2.0_api 发布时间: 20190513