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

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

21. can not find class laya.effect.GlowFilterSetter [ 67%]

can not find class laya.effect.GlowFilterSetter 版本 2.2.0beta4  图1:Scene下面一个Sprite上挂了GlowFilterSetter组件。 运行抛出图2错误。 附件 : --> 2019-09-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 ...

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

22. class导出问题 [ 67%]

class导出问题 我在腾讯课堂上买了一个视频再看 为啥讲师讲的都的时候,所有的类都没有导出 我自己操作,类不导出就报错啊   讲师讲的是ide1 讲的,我现在使用ide2 好像配置有很多不对,走一步错一步,视频的第一个,我就...

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

23. __class is not defined [ 67%]

__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

24. Uncaught Can not find class laya.ani.bone.Skeleton [ 66%]

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

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

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

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

26. Uncaught Can not find class laya.html.dom.HTMLDivElement [ 66%]

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

27. ts项目加载version.json失败 [ 65%]

ts项目加载version.json失败 class GameMain{ constructor() { Laya.init(1280,760); Laya.ResourceVersion.type = Laya.ResourceVersion.FILENAME_VERSION; Laya.ResourceVersion.enable("version.json", Laya.Handler.create(this, this.beginLoad)); } private beginLoad(): void { console.debug("aaaaaaaaaaaaa...

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

28. 微信小游戏默认项目代码添加unity导出.lh文件,微信开发工具提示错误 [ 65%]

...件,在laya内测试正常加载显示,代码如下:// 程序入口 class LayaAir3D { /*3D场景*/ private scene:Laya.Scene; /*3D角色*/ private role:Laya.Sprite3D; /*3D摄像机*/ public camera:Laya.Camera; constructor() { //初始化微信小游戏 Laya.MiniAdpter.init(); //初始化引擎 ...

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

29. Uncaught Can not find class srcipt/game/Game_App.ts [ 65%]

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

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

30. LayaAir能做RPG吗?不要问我能不能,因为我已经在做 - 杀意来袭 [ 65%]

...G_ENDIAN;设置为高位即可。 4.借用下any ts里面类的你会发现classB明明继承了classA或者实现了接口IA,但是你在使用classB做处理使会出现报错,这个时候借用下any吧,如: classA implements IA{ } classB extends classA{ } var items:IA = ; function(item:c...

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