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

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

1151. laya.d3.core.trail.TrailRenderer [ 62%]

...会拷贝实例对象。 BaseRender materials : Vector.<BaseMaterial> 获取潜拷贝实例材质列表,第一次使用会拷贝实例对象。 BaseRender receiveShadow : Boolean 获得是否接收阴影属性 BaseRender sharedMaterial : BaseMaterial 返回第一个材质。 BaseRender sha...

来源: Laya2.0_api 发布时间: 20190513

1152. Laya2.2.0,官方demo,Iphone Xs Max 14.0 锁屏小游戏卡死 [ 62%]

...想在onhide里面停止掉引起bug的代码 window['wx'].onShow((res) => { this.event(AppEvent.onShow, res); this.appStatus = AppEvent.onShow; console.log(this.appStatus, '---------'); Laya.stage.renderingEnabled = true//恢复渲染 Laya.updateTimer.resume() //恢复onUpdate Laya.timer.resume(...

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

1153. Laya.Browser.window.wx 找不到这个对象 [ 62%]

...cript type="text/javascript" src="libs/laya.wxmini.js"></script>,这个,然后在开始的时候进行了Laya.MiniAdpter.init(true);,接着就尝试console.log(Laya.Browser.window.wx); 是未定义的 lock_neo • 2018-06-03 12:06 我又在JS下创建了微信小游戏...

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

1154. 打包出现问题 [ 62%]

...的错误: fs.js:558 return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode); ^ Error: ENOENT: no such file or directory, open '/Developer/xcode/projects/game_dev/180106JumpAJump/code.git/JumpLaya/release/layaweb/0.9/js/core/UIInterface.js' at Object.fs.openSync (fs.js:558:18) at...

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

1155. 进度条组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 62%]

...es/ui/progressBar.png", "resources/res/ui/progressBar$bar.png"]).then(() => { // 创建进度条 this.progressBar = new Laya.ProgressBar("resources/res/ui/progressBar.png"); this.progressBar.pos(100, 500); this.progressBar.width = 400; this.progressBar.sizeGrid = "5,5,5,5"; this.progressBar.chang...

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

1156. 用Mac下Unity5.6.2f1导出的模型在Mac浏览器显示正常,发布到移动端不显示模型,但是顶点数面数都有 [ 62%]

... 微信 150*****372 赞同来自: 看看是不是项目中使用了()=>{}这样形式的写法 2017-07-13 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 yjxyuna 相关问题 加载到舞台的3D模型不显示贴图 unity中...

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

1157. Laya2.0发布微信小游戏,真机测试出现 window is not define 报错 [ 62%]

...错(Cannot assign to read only property 'window' of object '#<Window>' TypeError: Cannot assign to read only property 'window' of object '#<Window>')! 136*****907 • 2019-03-23 09:40 微信工具上选上es6转es5就会编译报这个错。

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

1158. 引用3d物理引擎失败,有文件丢失 Laya3D._physics3D.btVector3 找不到 [ 62%]

...了    <script type="text/javascript" src="libs/laya.physics3D.js"></script>  2018-10-14 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_XS 赞同来自: 能提交一个报错的示例吗,我...

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

1159. Laya.SoundManager.playSound()问题,任务不是当前标签停止播放,当任务回到当前标签页,不能恢复播放 [ 62%]

...dClass?: any, startTime?: number) { return new Promise((resolve, reject) => { let soundChannel: Laya.SoundChannel = Laya.SoundManager.playSound(url, loops, Laya.Handler.create(this, () => { resolve(soundChannel); }), soundClass, startTime); }); } 我使用Promise封装了一下音效播放,...

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

1160. 使用方向键 控制精灵在格子中移动 [ 62%]

...s.loop);事件响应 onkeyup(e){ for(let i:number = 0;i<this.keyList.length;i++){ if(this.keyList[i]==e.keyCode){ this.keyList.splice(i,1); break; } } } onkeydown(e){ if(this.keyList.indexOf(e.keyCode)<0){ this.keyList.push(e.keyCode); } } loop(){ if(this.sp.x!=this.next_x||this.sp.y!=this.nex...

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