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

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

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. 出错啦,请把此信息截图给研发商Uncaught Can not find class Laya.HTMLDivElementdetail.stack is null [ 95%]

出错啦,请把此信息截图给研发商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

3. MovieClip is not a constructor [ 94%]

...来自: 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

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

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

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

5. 2.0版本,Particle2D is not a constructor [ 89%]

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

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

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

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

7. laya.utils.ClassUtils [ 88%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames ClassUtilsMethods Packagelaya.utilsClasspublic class ClassUtilsInheritanceClassUtils Object ClassUtils 是一个类工具类。 Public Methods  MethodDefined By  createByJson(json:*, node:* = null, root:Node = null, cu...

来源: Laya2.0_api 发布时间: 20190513

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

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

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

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

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

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

10. 报错 Warning!,this class[HBox] already exist: [ 86%]

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

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