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

大约有 713 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0044 秒)

331. 摄像机的viewportPointToRay报错 [ 88%]

...现这个问题B43P1%XK0EMLAZO8{}XNAMK.pngB43P1%XK0EMLAZO8{}XNAMK   private pointRay:Laya.Vector2 = new Laya.Vector2(); private hitresult:Laya.HitResult = new Laya.HitResult(); private UpdateRay() { //射线初始化(必须初始化) //获取鼠标在屏幕空间位置  this.pointRay.x = Laya....

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

332. 构建APP Android Studio打出的APK 报apploader.js:4515 TypeError: addGlobalValueDefine is not a function [ 88%]

...om.mihe.carrom I/LayaBox: alert=apploader.js:4515:     TypeError: this._nativeObj.addGlobalValueDefine is not a function             return this._nativeObj.addGlobalValueDefine(modifyType, type, size, defaultData);                                    ^^              ...

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

333. 资源导出出错,怎么解 [ 88%]

...m.Collections.Generic.List`1[System.String]].get_Item (System.String key) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Collections.Generic/Dictionary.cs:150) LayaExport.DataManager.saveLaniData (UnityEngine.GameObject gameObject, .JSONObject obj) LayaExport.DataManager.getAnima...

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

334. 微信小游戏默认项目代码添加unity导出.lh文件,微信开发工具提示错误 [ 88%]

...显示,代码如下:// 程序入口 class LayaAir3D { /*3D场景*/ private scene:Laya.Scene; /*3D角色*/ private role:Laya.Sprite3D; /*3D摄像机*/ public camera:Laya.Camera; constructor() { //初始化微信小游戏 Laya.MiniAdpter.init(); //初始化引擎 Laya3D.init(0, 0, true); //适配...

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

335. TypeError: Laya.MovieClip is not a constructor [ 88%]

...   报错: TypeError: Laya.MovieClip is not a constructor preload.js:55 at XLoadUIScript.32.XLoadUIScript._init (file:///D:/1MiniGame/mini-game-client/minigame1/bin/js/bundle.js:3001:18)   at XLoadUIScript.32.XLoadUIScript.onStart (file:///D:/1MiniGame/mini-game-client/minigame1/bin/js/bundle.js...

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

336. 分享:Laya开发TS项目使用pomelo客户端SDK(pomelo-jsclient-websocket) [ 88%]

...;   ^ TypeError [ERR_INVALID_CALLBACK]: Callback must be a function     at maybeCallback (fs.js:159:9)     at Object.fs.writeFile (fs.js:1278:14)     at /usr/local/lib/node_modules/component/bin/component-build:206:8     at /usr/local/lib/node_modules/component/node_modules/component-build/...

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

337. 微信小游戏怎么引入DOMParser? [ 88%]

...*/rst=(new window.Parser.DOMParser()).parseFromString(value,'text/xml'); }catch (error){ throw "需要引入xml解析库文件"; } return rst; } 这里需要我自行定义window.Parser,按照我能搜到的代码,你们的建议是 window.Parser=require('./domparser.js'); 但是, 我下载的...

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

338. 项目做了一周.然后打不开了.怎么办? [ 88%]

...m/downloa ... 21786 Failed to load resource: the server responded with a status of 404 (Not Found) E:\laya\ide\LayaAirIDE_1.7.15\resources\app\out\layarepublic\toolbar\extension.js:66 Problem retrieving XML data E:\laya\ide\LayaAirIDE_1.7.15\resources\app\out\codeextension\servicecount\extension.js:...

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

339. 微信头像显示错误 [ 88%]

微信头像显示错误 Uncaught TypeError: tex.once is not a function at Graphics.__proto.drawTexture (GameStart.max.js:9996) at Image.__proto.rebuild (GameStart.max.js:36588) at TimerHandler.__proto.run (GameStart.max.js:18041) at Timer.__proto._update (GameStart.max.js:17798) at Stage.__proto.r...

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

340. 回调函数传递sprite3D问题 [ 88%]

...Z)); camera.viewport.project(spr.transform.position, camera.projectionViewMatrix, _outPos); msg1.scale(300/xp, 300/xp); msg1.pivot(msg1.width,msg1.height); msg1.pos(_outPos.x / Laya.stage.clientScaleX,(_outPos.y / Laya.stage.clientScaleY)-20); }我这样写 为什么在freshBubble里拿不到这个...

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