大约有 2,539 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0402 秒)
Laya_社区(1916) Laya3.0_api(163) laya_api(112) Laya2.0_api(107) Laya2.0_文档(76) Laya_示例(68) Laya2.0_示例(51) Laya3.0_文档(46)
...布微信游戏后失效。是因为什么? Accelerator.instance.on(Laya.Event.CHANGE, this, monitorAccelerator); function monitorAccelerator(acceleration, accelerationIncludingGravity, rotationRate, interval) { let x = accelerationIncludingGravity.x; let y = accelerationIn...
来源: Laya_社区 发布时间: 20180322
...ge.addChild(testSp); let i = 0; tmpMask.scaleX = i / 3; Laya.stage.on(Laya.Event.CLICK, this, ()=>{ i = (i + 1) % 4; tmpMask.scaleX = i / 3; }); 附件 : --> 2020-04-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个...
来源: Laya_社区 发布时间: 20200421
...中mouseConstraint无法拖拽刚体,ide里是正常的。添加Matter.Events.on(mouseConstraint, 'mousedown')测试,微信小游戏里有响应,但e.mouse里的参数无效 chrome调试输出mouse参数正常。 微信小游戏里参数NaN。 2018-05-20 0 0 分享 微博 QZONE 微信 为什...
来源: Laya_社区 发布时间: 20180512
...效果执行完,弹窗无法关闭 LayaAir下TTF字体的使用方式? event自定义事件的问题 Morn UI创建皮肤时的基类能自定义吗?不要View或者Dialog 关于射线碰撞的问题,对于射线的罗辑方式不太了解,懂得进来帮忙看一下!~~~~~~~~~~ 参照技...
来源: Laya_社区 发布时间: 20180410
...后的APP打开加载速度过慢,有黑屏,如何加入闪屏图片 event自定义事件的问题 关于apk打包动画卡的问题 横屏模式在锁定竖屏的iphone上不能正常显示的问题 问题状态 最新活动: 2017-02-12 19:05 浏览: 1677 关注: 2 人 reven1983 • 2017-02-12 ...
来源: Laya_社区 发布时间: 20170212
....json" at ChildProcess.exithandler (child_process.js:217:12) at emitTwo (events.js:106:13) at ChildProcess.emit (events.js:194:7) at maybeClose (internal/child_process.js:899:16) at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5) killed: false, code: 1, signal: null, cmd: 'D:...
来源: Laya_社区 发布时间: 20190730
... 我会使用下列方式监听视窗改变的事件。Laya.stage.on(Laya.Event.RESIZE,this,this.doResize.bind(this)); 并且会在该事件(doResize)中改变 Laya.stage.scaleMode 的值。doResize () { Laya.stage.scaleMode = Laya.Stage.SCALE_SHOWALL; } 但是我发现在onResize事件里...
来源: Laya_社区 发布时间: 20180321
...帮忙看一下 3D平行光产生的投影,如何修改颜色深浅? event自定义事件的问题 dialog 自定义关闭效果,效果执行完,弹窗无法关闭 请问laya里如何解析json,似乎和AS3的不太一样。 "Background is not defined"怎么会没定义呢???求救 ...
来源: Laya_社区 发布时间: 20230913
...index",index); // } _proto_.onMouse = function(e,index){ if(e.type == Laya.Event.CLICK){ //console.log(e.type,index); if(this.selectedIndex !== index){ if(this.selectedIndex!==-1){ //之前选中的列表项的选中状态设置为false this.sList.setItem(this.selectedIndex,{ select : {label : "服...
来源: Laya_社区 发布时间: 20170805
...ds Packagelaya.mediaClasspublic class SoundChannelInheritanceSoundChannel EventDispatcher Object SoundChannel 用来控制程序中的声音。每个声音均分配给一个声道,而且应用程序可以具有混合在一起的多个声道。 SoundChannel 类包含控制声音的播放、暂停...
来源: Laya2.0_api 发布时间: 20190513