大约有 734 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0042 秒)
...显示,代码如下:// 程序入口 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
... 报错: 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
...; ^ 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
...*/rst=(new window.Parser.DOMParser()).parseFromString(value,'text/xml'); }catch (error){ throw "需要引入xml解析库文件"; } return rst; } 这里需要我自行定义window.Parser,按照我能搜到的代码,你们的建议是 window.Parser=require('./domparser.js'); 但是, 我下载的...
来源: Laya_社区 发布时间: 20180516
...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
[LayaNative3]3.3的TrailRenderer组件找不到 3.3的TrailRenderer组件找不到, demo里面就会报错 还有已经没有这个属性了: suface.boundMin let min = suface.min ?? suface["_boundMin"]; let max = suface.max ?? suface["_boundMax"]; 2025-07-31 添加评论 免费帖 -->...
来源: Laya_社区 发布时间: 20250731
微信头像显示错误 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
...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
...骼动画播放完后的回调时间 动画混合无效(版本2.6) Animator 如何获取当前所有动画名称呢?或者所有的AnimationClip呢? spine在微信小游戏中切换动画无法显示 H5动画和节奏的一个加速! 这样写的代码,Tween动画里面只有alpha有效...
来源: Laya_社区 发布时间: 20240724
... luo274888605 • 2018-03-14 20:18 com.yutian.hoopster E/AndroidRuntime: FATAL EXCEPTION: GLThread 113 Process: com.yutian.hoopster, PID: 2478 java.lang.IllegalArgumentException at com.google.android.gles_jni.EGLImpl._eglCreateContext(Native Method) at com.google.android.gles_jni.EGLImpl.eglCreateCo...
来源: Laya_社区 发布时间: 20180314