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

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

3521. 使用es6里面的MAP 然后加断点后IDE 报错 [ 47%]

使用es6里面的MAP 然后加断点后IDE 报错     Error processing "variables": TypeError: Cannot read property 'length' of undefined at trimProperty (d:\Tools\LayaAirIDE_beta\resources\app\extensions\laya-debug\node_modules\vscode-chrome-debug-core\out\src\chrome\variables.js:137:18) at pro...

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

3522. laya.resource.PrefabImpl_API3.0 [ 46%]

...source> Returns void create create(options?: Record<string, any>, errors?: any[]): Node Overrides Prefab.create Defined in laya/resource/PrefabImpl.ts:43 创建一个 Parameters Optional options: Record<string, any> Optional errors: any[] Returns Node destroy destroy(): void Inherited...

来源: Laya3.0_api 发布时间: 20231115

3523. layaBOX实时语音聊天与微信登陆接口分享 [ 46%]

...证 YIM.WXCheckSignature(req,token,function(err,rows){ if(err){ res.send("error"); }else{ res.send(rows); } }) }); router.get('/token', function (req, res, next) { var apiinfo = { appid: "123231", secret: "132321132" } var that = this; //获取TOEKN YIM.WXGetAccessToken(apiinfo, function (scope, dat...

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

3524. 发布没有生成EffectAnimation的UI代码 [ 46%]

...了layaair-cmd publish,一样的出现src/ui/layaUI.max.all.ts(1493,69): error TS2339: Property 'EffectAnimations' does not exist on type 'typeof ui'. qian • 2018-01-20 12:16 我没有复现你的问题~ pyy07 • 2018-01-20 12:17 你用layaair-cmd publish那个项目没有问题? pyy07 • 2018...

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

3525. js socket 连接不上 [ 46%]

...Event.CLOSE, this, closeHandler); //关闭事件 this.socket.on(Laya.Event.ERROR, this, errorHandler); //连接出错 function openHandler(event){ //正确建立连接 this.socket.send('foo','OOOO'); } function receiveHandler(msg){ console.log(event); //接收到数据触发函数 // socket.emit('lo...

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

3526. MissingMethodException: Method not found: 'UnityEngine.LightmapData.get_lightmapColor'. [ 46%]

...: net::ERR_FILE_NOT_FOUND ani not found: GameRole.ani#hero_fly 打包提示error:index.html not found? 发布微信小游戏时,[ERR]|MergeJS Fail, File not found : E:\svnwork\layawork\bin\h5\index.html 2.0动效模板问题,我照着2.0的文档做,can not found class ui.xxxUI这个错误 ani not f...

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

3527. [LayaAir3]导出微信小游戏的.mc文件变成.mc.bin无法被加载 [ 46%]

...,更新微信开发者工具 原报错为 "readFile:fail Parameter check error: parameter.encoding 字段需为 'ascii' | 'base64' | 'binary' | 'hex' | 'latin1' | 'ucs-2' | 'ucs2' | 'utf-16le' | 'utf-8' | 'utf16le' | 'utf8'",更新最新 2025-07-08 0 0 分享 微博 QZONE 微信 为什么被折...

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

3528. LayaAir和原生DOM交互(TypeScript-2D进阶篇(TS)-扩展模块) [ 46%]

...s,Laya.Handler.create(this,this.onSuccess),Laya.Handler.create(this,this.onError)); } } private showMessage():void{ var tex:Laya.Text = new Laya.Text(); Laya.stage.addChild(tex); tex.text = "单击舞台播放和暂停"; tex.color = "#ffffff"; tex.fontSize = 100; tex.valign = "middle"; tex.align = "...

来源: Laya2.0_文档 发布时间: 20210715

3529. 音频解码一直遇到这个问题呢,不知道什么原因 [ 46%]

...}, {url:"sound/button.mp3", type:Loader.SOUND}, {url:"sound/error.mp3", type:Loader.SOUND}, {url:"sound/getXing.mp3", type:Loader.SOUND}, {url:"sound/right.mp3", type:Loader.SOUND}, {url:"sound/timeOut.mp3", type:Loader.SOUND}, {url:"sound/victo...

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

3530. 咨询在Laya.Sprite3D中,是否含有类似于 Sprite 中的getbounds函数 [ 46%]

...y方法? 怎么检测点是否在 graphics所绘制的区域内 Uncaught Error:此函数id(167),ctype(167)报错? 请问object层中添加的sprite怎么添加点击事件 注册函数里面 事件侦听函数的执行域 的详解 如何定义动画播放过某帧后的回调函数 ...

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