大约有 63 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0048 秒)
...考修改。 关于问题的分析和推测: 我使用console.log一步步调试,最终发现是MiniSound的onCanPlay没有被调用,也就没有complete事件触发,同样的error事件也没有触发,于是就卡住了,触发不了批量加载全部完成的回调。 ...
来源: Laya_社区 发布时间: 20181026
...有完全展示数组数据,只展示了其中的图片部分,数组能console出,那个list中的数据也存在,但没渲染出。 问题状态 最新活动: 2018-05-25 16:53 浏览: 937 关注: 2 人 170*****199 • 2018-05-25 16:56 第一次进加载的,是默认缓存的 不能缓存...
来源: Laya_社区 发布时间: 20180525
...Main extends Laya.Script { private aStarInstance: AStarFinder; onStart() { console.log("Game start"); // 0表示通路,1表示障碍 let myMatrix = [ [0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 1], [0, 0, 1, 1, 0, 1, 1, 0], [0, 0, 1, 0, 0, 0, 1, 0], [0, 0, 0, 0, 0, 0, 1, 0], [1, 1, 1, 0, 1, 0,...
来源: Laya3.0_文档 发布时间: 20251010
... default: { console.error('unknown format', ext); return; } } ...
来源: Laya_社区 发布时间: 20201130
...operty( { type : Laya.Scene3D } ) private scene: Laya.Scene3D; onStart() { console.log("Game start"); //加载预制体文件 Laya.loader.load("resources/Prefab.lh").then( (res)=>{ //创建预制体 let monkey: Laya.Sprite3D = res.create(); //添加预制体到场景中 this.scene.addChild( monke...
来源: Laya3.0_文档 发布时间: 20241014
...有完全展示数组数据,只展示了其中的图片部分,数组能console出,那个list中的数据也存在,但没渲染出。 播放背景音乐的问题 刚打开 桌面调试出现报错Uncaught (in promise) DOMException: play() 新手开发游戏,求思路 问题状态 最新活...
来源: Laya_社区 发布时间: 20190419
...阅文档《性能统计与优化》。 1.3.2 显示移动端调试工具 VConsole 在移动端调试,通常需要联到电脑端的浏览器上。 如果开发者不需要断点,只是一些常用的日志打印、加载等查看等,开启V Console,在移动端会出现如图1-11所示的...
来源: Laya3.0_文档 发布时间: 20251014
...operty( { type : Laya.Scene3D } ) private scene: Laya.Scene3D; onStart() { console.log("Game start"); //加载预制体文件 Laya.loader.load("resources/Prefab.lh").then( (res)=>{ //创建预制体 let monkey: Laya.Sprite3D = res.create(); //添加预制体到场景中 this.scene.addChild( monke...
来源: Laya3.0_文档 发布时间: 20251105
...ial = customMaterial; mesh.meshRender.sharedMaterial = customMaterial2; // console.log(mesh4.meshRender.sharedMaterial); shaderDemo.zip 2017-05-25 0 0 分享 微博 QZONE 微信 ebaww 赞同来自: 我按你说的改了一下CustomMaterial.js,效果正确了,现在我想不用代码,直接改....
来源: Laya_社区 发布时间: 20170524
...urn new Promise((resolve,reject)=>{ Laya.timer.once(10000,this,()=>{ console.log("10s后") resolve() }) }) } 如果有什么问题,欢迎大家一起来分享感恩。 附件 : --> regenerator.runtime_.zip 2020-07-05 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关...
来源: Laya_社区 发布时间: 20200705