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

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

1. __class is not defined [ 100%]

__class is not defined WAGame.js:3 gameThirdScriptError __class is not defined ReferenceError: __class is not defined at http://127.0.0.1:56728/game/code.js:53274:3 at http://127.0.0.1:56728/game/code.js:53276:4 at require (http://127.0.0.1:56728/game/__ ... :13675) at http://127.0.0.1:56728/game/_...

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

2. MovieClip is not a constructor [ 95%]

...来自: import Sprite=Laya.Sprite; import MovieClip=Laya.MovieClip; export class SpriteSheetTest extends Sprite{ constructor() { super(); let mc:MovieClip=new MovieClip(); } } 就这点代码,运行后就报错 2017-07-19 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该...

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

3. 出错啦,请把此信息截图给研发商Uncaught Can not find class Laya.HTMLDivElementdetail.stack is null [ 94%]

出错啦,请把此信息截图给研发商Uncaught Can not find class Laya.HTMLDivElementdetail.stack is null 出错啦,请把此信息截图给研发商Uncaught Can not find class Laya.HTMLDivElementdetail.stack is null   也没干啥,突然就报这个错了。 附件 : --> 2021-11-02 添...

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

4. 2.0版本,Particle2D is not a constructor [ 90%]

2.0版本,Particle2D is not a constructor export default class RunMain extends Laya.Sprite{ constructor(){ super(); Laya.loader.load([{url:"res/213.part",type:Laya.Loader.JSON}],Laya.Handler.create(this,this.onAssetsLoaded)); } onAssetsLoaded(){ let pg = Laya.loader.getRes("res/213.part"); let pd...

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

5. Uncaught TypeError: Class constructor Component cannot be invoked without 'new' [ 89%]

Uncaught TypeError: Class constructor Component cannot be invoked without 'new' 官方示例发布微信小游戏,在开发者工具中报错 附件 : --> Demo.zip 2020-05-18 1 条评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1...

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

6. must set document class! [ 86%]

must set document class! 编译时出来的一个弹框。没有更多提示。 2018-07-06 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Laya_Aaron 赞同来自: 需要设置启动类 2018-07-06 0 0 分享 微...

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

7. Error!,this class[Item] already exist: function Item(){ … } [ 85%]

Error!,this class[Item] already exist: function Item(){ … } 这是什么错误 Laya.class(Item, "Item", Box); 定义的类,能不能清除,或者判断类是否存在 2018-04-11 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 ...

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

8. 自动生成的页面逻辑类报错:__class未定义 [ 85%]

自动生成的页面逻辑类报错:__class未定义 版本:1.7.19.1beta 环境:Windows平台 项目类型:javascript项目 重现:编辑模式下,新建页面,输入页面名称,勾选“创建逻辑类”,点击确定。生成的逻辑类代码中的__class未定义。 解决...

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

9. 报错 Warning!,this class[HBox] already exist: [ 83%]

报错 Warning!,this class[HBox] already exist:   附件 : --> 2017-11-03 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 wudi199553 赞同来自: 你这是重名了,所以报错 2017-11-03 0 2 分享 微博 QZ...

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

10. 每次新建as类,都会报错“重复的class 定义” [ 83%]

每次新建as类,都会报错“重复的class 定义” 每次新建as类,都会报错“重复的class 定义” 2018-10-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 hj 赞同来自: 没有出现这...

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