大约有 1,604 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0137 秒)
...ject","budai"); budai.on(Laya.Event.CLICK,this,function() { console.log("点击了"); }); 这样不起作用呢
来源: Laya_社区 发布时间: 20180722
...的webgl项目,其他引擎的项目 把LayaSample.max.js简化为一个console.log('xxx')能跑么 另外你怎么升级的14.2 jason: • 2020-09-24 17:28 @郭兆奎:ios14.2还是beta版本,没有正式推送,还挺多BUG的,腾讯视频什么的都打不开,某些问题是可以忽略...
来源: Laya_社区 发布时间: 20200922
...onError); this.mFactory.loadAni(this.mAniPath); } private onError():void { console.log("error"); } private parseComplete():void { //创建模式为1,可以启用换装 this.mArmature = this.mFactory.buildArmature(1); this.mArmature.x = this.mStartX; this.mArmature.y = this.mStartY; this.mArmature....
来源: Laya_示例 发布时间: 20260303
....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
... { cell.setImg(cell.dataSource); } private onSelect(index: number): void { console.log("当前选择的索引:" + index); } } import Box = Laya.Box; import Image = Laya.Image; class Item extends Box { public static WID: number = 373; public static HEI: number = 85; private img: Image; constructor(...
来源: Laya2.0_文档 发布时间: 20210715
...onError); this.mFactory.loadAni(this.mAniPath); } private onError():void { console.log("error"); } private parseComplete():void { //创建模式为1,可以启用换装 this.mArmature = this.mFactory.buildArmature(1); this.mArmature.x = this.mStartX; this.mArmature.y = this.mStartY; this.mArmature....
来源: Laya2.0_示例 发布时间: 20260303
...有解决方案? 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
...放出错 > MgInnerAudioChannel.ts L33-L36 ctx.onError(err => { console.error("MgInnerAudioChannel: " + getErrorMsg(err)); this.stop(); }); 报错位置在getErrorMsg解析错误信息, 最终导致的结果是什么呢, 无法播放长音频, 然后我把这个这段捕获错误的代...
来源: Laya_社区 发布时间: 20250609
...andler.create(this,loadComplete));//加载资源 function loadComplete() { console.log("资源加载完成!"); var button = new laya.ui.Button("resource/ui/button.png","label");//创建一个 Button 类的实例对象 button ,传入它的皮肤skin和标签label。 button.x =100;//设置 button ...
来源: Laya3.0_api 发布时间: 20231115
...andler.create(this,loadComplete));//加载资源 function loadComplete() { console.log("资源加载完成!"); var checkBox:laya.ui.CheckBox= new laya.ui.CheckBox("resource/ui/check.png", "这个是一个CheckBox组件。");//创建一个 CheckBox 类的类的实例对象 checkBox ,传入它的皮...
来源: Laya3.0_api 发布时间: 20231115