大约有 3,269 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0185 秒)
...r: Unexpected token A in JSON at position 217 at JSON.parse (<anonymous>) at Function.MiniAdpter.getJson (http://127.0.0.1:38746/game/code.js:34118:15) at Function.MiniLoader.onReadNativeCallBack (http://127.0.0.1:38746/game/code.js:41764:25) at Handler.__proto.runWith (http://127.0.0.1:38746/...
来源: Laya_社区 发布时间: 20180803
... SoundManager.soundVolume = volume; for (let i = SoundManager._channels.length - 1; i >= 0; i--) { let channel = SoundManager._channels[i]; if (channel.url != SoundManager._bgMusic) { channel.volume = volume; } } } } 通过设置volume参数,可以有效控制url所对应声音文件的音...
来源: Laya3.0_文档 发布时间: 20251010
...活,谢谢? const scene = new Laya.Scene(); scene.onOpened = () => { console.log('scene onOpened'); }; scene.open(); console.log('scene', scene.active, scene.activeInHierarchy); Laya.timer.frameOnce(10, this, () => { console.log('scene 2', scene.active, scene.activeInHierarchy); }); ...
来源: Laya_社区 发布时间: 20190218
分享:HTML实体,避免浏览器解析时产生歧义 > 大于号(>) < 小于号(<) &#39; 单引号(') &amp; 链接符(&) &quot; 双引号(") &copy; 版权符号,圆下一个C ...
来源: Laya_社区 发布时间: 20170524
... 提交 2 个回复 qianyifei 赞同来自: xml 添加<depthAndStencil>true</depthAndStencil> 这个就好了,明显是3d问题,straling发布手游项目也会提示这个! 2016-08-02 0 0 分享 微博 QZONE 微信 Laya_XS 赞同来自: 这是你的sdk版本太低了,你换新...
来源: Laya_社区 发布时间: 20160722
...有个问题 这样会直接报错 this.html_1.innerHTML = "<font>&</font>"
来源: Laya_社区 发布时间: 20190427
...ue < this.MIN_VALUE){ this.value = this.MIN_VALUE; }else if(this.value > this.MAX_VALUE){ this.value = this.MAX_VALUE; } this.bar.scale(this.value / this.MAX_VALUE, 1); } })(); 这里我们通过初始化的type来区分是 悬空能量条还是加速能量条 这里我们提供一个外部的...
来源: Laya_社区 发布时间: 20160803
...析script标签出错,是不是一个页面只能出现一对<script></script>标签? 附件 : --> 2017-10-13 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_XS 赞同来自: 启动的html文件...
来源: Laya_社区 发布时间: 20171013
.../加载预制体文件 Laya.loader.load("resources/Title.lh").then( (res)=>{ //创建预制体 let label: Laya.Label = res.create(); //添加预制体Label字体到box节点下 this.box.addChild( label ); } ); } } 运行效果如图3-6所示 (图3-6) 3.2 3D预制体 3D预制体的使用过程...
来源: Laya3.0_文档 发布时间: 20251105
...级一下新版本ide看下。 3,引擎库的引用,在2.0 IDE的 F9->类库设置里可以管理。 2020-09-22 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 152*****855 相关问题 发起问题须知,必看!!!不按提...
来源: Laya_社区 发布时间: 20200913