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

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

1. Cannot read property 'load' of null [ 100%]

LayaAir引擎 Cannot read property 'load' of null 查了断点,看到Laya.loader是null,为什么会出现为null的情况?  代码如下: class main{ constructor(){ MapManager.getInstance().LoadMapResource(); } } new main(); class MapManager { private static s_instance = null; public static...

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

2. Uncaught Can not find class laya.physics.BoxCollider [ 96%]

Uncaught Can not find class laya.physics.BoxCollider 我发布web怎么就显示Uncaught Can not find class laya.physics.BoxCollider这了 2019-08-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回复 为什么被折...

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

3. Uncaught Can not find class laya.html.dom.HTMLDivElement [ 95%]

Uncaught Can not find class laya.html.dom.HTMLDivElement IDE 2.4.0  库2.4.0 已经添加html.js, IDE里运行还是会报错 附件 : --> 2020-02-28 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞...

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

4. Uncaught Can not find class laya.ani.bone.Skeleton [ 95%]

Uncaught Can not find class laya.ani.bone.Skeleton 新建项目 console.log(Laya.Skeleton)为undefine  场景里放入.sk动画 运行报错Can not find class laya.ani.bone.Skeleton 附件 : --> 2020-05-04 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: ...

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

5. Uncaught Can not find class EffectAnimation undefined [ 95%]

Uncaught Can not find class EffectAnimation undefined 假设我今天创了一个叫QQQ的EffectAnimation,放入UI某个元件底下,运行时会报错误 Uncaught Can not find class ui.test.QQQUI undefined,我根本沒有需要創建腳本來操作事情,為什麼需要找查class? 2018-...

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

6. Uncaught Can not find class Laya.Text [ 93%]

Uncaught Can not find class Laya.Text 版本 2.8.0显示 laya.core.js: Uncaught Can not find class Laya.Text  附件 : --> 2020-11-25 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 小小泽 จุ บ 赞同...

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

7. Uncaught Can not find class srcipt/game/Game_App.ts [ 93%]

Uncaught Can not find class srcipt/game/Game_App.ts 如题  类也注册了 但是 还是提示 Uncaught Can not find class srcipt/game/Game_App.ts  找不到这个类 , 这个脚本是我直接复制进来的,没有在编辑器里创建,难道这个编辑器不能容纳复制进来的脚...

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

8. js飞机大战报错 请大神看看 [ 92%]

js飞机大战报错 请大神看看 飞机大战第九节报错 我是按照视频打的 但是不知道为什么 貌似每个控件(按钮 label)都是"空的" 一访问就报出异常   我查了layaUI.max.all.js文件 里面的组件名正确  layaUI.max.all.js:          this.pauseBtn...

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

9. ui导入报错 [ 90%]

ui导入报错 编辑模式,新建view-保存导出后,导入ui时报错: TypeError: Cannot read property 'View' of undefined at file:///D:/wxgame/hello/src/ui/layaUI.max.all.js:3:17 2018-06-01 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容...

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

10. 关于场景异步加载 [ 86%]

关于场景异步加载 请问下 现在如果用ide做布局 ide自动会生成一份layaUI.max.all.js 但是如果我有N个场景 实际上 layaUI.max.all包含了所有场景的ui类,那么 我怎么做到 把不需要立马展示的场景所涉及的ui从 layaUI.max.all里面剔除 或者...

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