• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 513 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0060 秒)

471. Spine渲染器 · LayaAir3.3 · 引擎文档 · LAYABOX [ 41%]

...currentSkin; this.spine.play("idle", false); //切换后重新播放一次 console.log(`当前皮肤切换至:${currentSkin}`); }); } } 2.6 动画名称 animationName 在前文的示例代码中,我们通过play方法来直接播放动画。为了在IDE面板中更方便易用,我们提供的...

来源: Laya3.0_文档 发布时间: 20251128

472. 请问object层中添加的sprite怎么添加点击事件 [ 40%]

...ject","budai"); budai.on(Laya.Event.CLICK,this,function() { console.log("点击了"); }); 这样不起作用呢

来源: Laya_社区 发布时间: 20180722

473. 能不能添加一个控件可以让文字和组件实现弹性滚动啊 [ 40%]

....vScrollBar.max; Laya.timer.frameLoop(12,this,onLoop); function onLoop() { console.log(54) } })();、 我是这样添加的 lubaihong • 2017-06-09 11:07 谢谢 我已经用list 做出功能了 (ノ>ω<)ノ cuixueying • 2017-06-09 11:50 这个是引擎问题,已经修复了,你可以先...

来源: Laya_社区 发布时间: 20170609

474. 写了个边缘光的自定义shader,有很多问题,帮忙看一下 [ 40%]

...ial = customMaterial; mesh.meshRender.sharedMaterial = customMaterial2; // console.log(mesh4.meshRender.sharedMaterial); shaderDemo.zip 2017-05-25 0 0 分享 微博 QZONE 微信 ebaww 赞同来自: 我按你说的改了一下CustomMaterial.js,效果正确了,现在我想不用代码,直接改....

来源: Laya_社区 发布时间: 20170524

475. 关于安卓工程中的内存问题 [ 40%]

...有解决方案? 2.在界面中使用Laya.timer.frameLoop(1, function(){console.log(conch.config.getUsedMem())}),手机会出现闪退,并报错local reference table overflow (max=512) 3.在项目运行中闪退,报错为: 03-22 13:52:03.749 15130-15218/com.xmvigor.shyxcs A/art: art/runtime/...

来源: Laya_社区 发布时间: 20180322

476. 针对2.0.0 beta5 setLoadingPage 做增强 [ 40%]

...ass page2 extends Laya.Scene { constructor() { super() } onOpened (args) { console.log(args) } }   附件 : --> 2018-11-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Laya_Aaron 赞同来自: 感谢分享~! ...

来源: Laya_社区 发布时间: 20181124

477. ios14新系统问题 [ 39%]

...的webgl项目,其他引擎的项目 把LayaSample.max.js简化为一个console.log('xxx')能跑么 另外你怎么升级的14.2 jason: • 2020-09-24 17:28 @郭兆奎:ios14.2还是beta版本,没有正式推送,还挺多BUG的,腾讯视频什么的都打不开,某些问题是可以忽略...

来源: Laya_社区 发布时间: 20200922

478. Laya2自动同步cullingMask方案以及灯光裁剪补丁 [ 39%]

...yer = this._layerMap[layerStr]; if(layer === null || layer === undefined){ console.log(layerNodeName + ' don not match the rule of layer node.'); return; } if(bRemove){ this.removeLayer(target,layer); } else{ this.addLayer(target,layer); } } } } public static removeAllLayers(target) { target.culling...

来源: Laya_社区 发布时间: 20200110

479. 2.12.2beta1 诸多bug [ 38%]

.../span>"; ele.on(Laya.Event.LINK, this, (event: Laya.Event) => { console.log(event); }); Laya.stage.addChild(ele); zyy • 2021-11-09 13:51 @Laya_Fred: 这段代码 很简单 只是点击 输出 event 如果 把Laya.stage.y 向下调整 就会导致它点击区域错误 zyy • 2021-11-09 ...

来源: Laya_社区 发布时间: 20211105

480. 列表组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 38%]

... { cell.setImg(cell.dataSource); } private onSelect(index: number): void { console.log("当前选择的索引:" + index); } } class Item extends Laya.Box { static WID: number = 373; static HEI: number = 85; private img: Laya.Image; constructor() { super(); this.size(Item.WID, Item.HEI); this.img =...

来源: Laya3.0_文档 发布时间: 20251010