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

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

1. 报错:__glsl is not defined,而且bundle.js出现__glsl [ 100%]

...(__glsl) { 'use strict'; __glsl = __glsl && __glsl.hasOwnProperty('default') ? __glsl['default'] : __glsl; bundle.js结束代码: onConfigLoaded() { //加载IDE指定的场景 GameConfig.startScene && Laya.Scene.open(GameConfig.startScene); } } //激活启动类 new Main(); }(__gls...

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

2. layaMaxUI.js export ui bug (影响编译) [ 94%]

... ui bug 在layaMaxUI.js中 由 if(!window.ui)window.ui={};...export {ui as default}; 引起 附件 : --> 2019-08-13 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 9 个回复 Laya_Aaron 赞同来自: 什么版本有demo 吗...

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

3. 已经在vs上引用相关的类,编译后bundle.js却没有相关的代码 [ 90%]

... 有谁碰到过这样的问题? 一个common.ts里面定义了export default class SDispatcher implements ISDispatcher{},然后在其他类里面继承。并导包。export default class xxxx extends SDispatcher{},在vs里面没有发现报错。进行指令编译后,运行bundle.js...

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

4. 引擎创建的GameConfig.ts报错 [ 89%]

.../gameconfig.ts(2,8): Error TS1192: Module '"src/script/maingameui"' has no default export. 请问我的操作有问题吗,如果让脚本控制场景上的元素,比如一张图片,是不是应该这么做 2018-10-25 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结...

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

5. Laya.SoundManager.playSound函数参数意义 [ 83%]

...参数不理解,官方文档上写得不太明白   soundClass:Class (default = null) — 声音播放起始时间。 startTime:Number (default = 0)   这个startTime指的是从现在起延迟的秒数、毫秒数还是播放的时间戳? 2017-02-03 添加评论 免费帖 --> 分享 微...

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

6. IDE编译时报错,TS2307 [ 81%]

...浏览: 1815 关注: 2 人 IXgSoul • 2020-04-07 12:00 嗯导出了export default class ResponerManager kylin • 2020-04-07 18:15 @IXgSoul:辛苦传一个可复现的简单demo吧,仅从目前的信息我们无法继续调查。 IXgSoul • 2020-04-09 11:18 @kylin:查到了,是循环引用导...

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

7. 新建项目报错,求助 [ 81%]

...g gulpfile ~\Documents\Laya2\test3d\.laya\gulpfile.js [19:37:56] Starting 'default'...  出错了: TypeScript error: ../../../node_modules/@types/node/index.d.ts(26,22): Error TS6053: File '../../../node_modules/@types/node/inspector.d.ts' not found. 2018-11-01 添加评论 免费帖 --> 分享 微...

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

8. chrome里运行游戏 游戏声音听不见 [ 77%]

...中输入chrome://flags/#autoplay-policy 然后在高亮的选项中,将Default 换成No user gesture is required   操作步骤参照截图       2018-05-15 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无法添加新回复 发起人 ...

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

9. 谷歌浏览器播放mp3出现The AudioContext was not allowed to start. [ 77%]

...icy 然后在高亮的autoplay-policy选项中,将 右侧下拉菜单里 Default 换成 No user gesture is required CXP • 2018-09-18 14:23 @vvv123:请问你是怎么解决的? vvv123 • 2018-10-10 10:10 按照上面的兄弟的说法做的

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

10. 昨天一开始运行好好的,没动别的,运行就开始报错 [ 76%]

...nts a variable, not a function Warning: D3D shader compilation failed with default flags. (ps_5_0)  Retrying with skip validation C:\fakepath(596,34-81): error X3005: '_webgl_42c649225184485b': identifier represents a variable, not a function Warning: D3D shader compilation failed with skip validat...

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