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

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

1. 升级Laya2.2.0报Class constructor Scene cannot be invoked without 'new'解决办法 [ 100%]

升级Laya2.2.0报Class constructor Scene cannot be invoked without 'new'解决办法   升级库到2.2.0beta: ①下载LayaAir2.2.0beta库文件 ②把根目录下bin/libs删掉,解压库文件libs到bin/libs目录 ③把根目录下libs删掉,解压库文件ts到根目录 运行报错:Cl...

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

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

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

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

3. MovieClip is not a constructor [ 90%]

MovieClip is not a constructor 在vsCode中写ts语法,创建MovieClip后运行报错:MovieClip is not a constructor! 2017-07-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 5 个回复 18688961270 赞同来自: 已...

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

4. Uncaught TypeError: GlowFilter is not a constructor [ 85%]

Uncaught TypeError: GlowFilter is not a constructor 使用 GlowFilter ,编辑模式下F9 引入了Filter 依然报这个错,ColorFilter没问题 2019-02-22 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_...

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

5. Warning!,this class[MiniAdpter] already exist: Object {} [ 83%]

...s class[MiniAdpter] already exist: Object {init: } 升级Laya2.2.0报Class constructor Scene cannot be invoked without 'new'解决办法 Uncaught TypeError: Class constructor Component cannot be invoked without 'new' ClassUtils.getClass获取不到Class Uncaught 无法实例class PhysicsCollider ext...

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

6. new GlowFilter Uncaught TypeError: GlowFilter is not a constructor [ 83%]

new GlowFilter Uncaught TypeError: GlowFilter is not a constructor var glowFilter:GlowFilter = new GlowFilter("#ffff00", 10, 0, 0); 然后运行时报错 Uncaught TypeError: GlowFilter is not a constructor        有知道为啥的么 2017-02-17 添加评论 免费帖 --> 分享 微博 QZONE ...

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

7. TypeError: Cannot read property 'length' of null [ 81%]

...误 Cannot read property 'displayObject' of null Uncaught TypeError: Class constructor Component cannot be invoked without 'new' 构建APP Android Studio打出的APK 报apploader.js:4515 TypeError: addGlobalValueDefine is not a function 关于graphics.drawTexture方法设置纹理报错TypeError: te...

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

8. Maximum call stack size exceeded [ 77%]

...   'use strict';       class GameMain extends Laya.Scene {         constructor(){             super();               GameMain.instance = this;               Laya.MouseManager.multiTouchEnabled = false;               this.loadScene("main.scene");           }  ...

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

9. 针对2.0.0 beta5 setLoadingPage 做增强 [ 76%]

...一个场景的同时执行异步方法 */ export default class LoadPage { constructor(url = null) { this._loadScene = null if (url) this.preload(url) } /** * 预加载loading页面 * @param {String} url loading页面url */ async preload(url = 'loadingpage.scene') { if (this._loadScene && ur...

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

10. Laya2.4版本,场景为内嵌时layaMaxUI类中没有声明场景中的Button等控件? [ 71%]

...el":"label"},"compId":3}],"loadList":["comp/button.png"],"loadList3D":[]}; constructor(){ super()} createChildren():void { super.createChildren(); this.createView(GameSceneuiUI.uiView); } } REG("ui.GameSceneuiUI",GameSceneuiUI); export class GameViewUI extends Laya.View { public static uiView:any ={...

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