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

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

11. TypeError: Cannot read property '_byteLength' of null [ 87%]

...ow.conch.setFontFaceFromBuffer is not a function Uncaught TypeError: Class constructor Component cannot be invoked without 'new' 关于graphics.drawTexture方法设置纹理报错TypeError: texture.getIsReady is not a function 升级到2.2.0Beta报错Uncaught TypeError: Class constructor Sprite cann...

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

12. 2.0版本,Particle2D is not a constructor [ 85%]

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

13. 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

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

...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

15. Uncaught TypeError: Game.super is not a function [ 77%]

...ene undefined 引擎SWF动画示例,提示 TypeError: MovieClip is not a constructor 问题状态 最新活动: 2017-10-12 11:55 浏览: 883 关注: 2 人 apeCom • 2017-10-12 11:59 谢谢

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

16. must set Document Class 是怎么回事? [ 77%]

... PhysicsCollider extends PhysicsTriggerComponent Uncaught TypeError: Class constructor Component cannot be invoked without 'new' 做微信开放域遇到Uncaught Can not find class laya.ui.WXOpenDataViewer 做微信开放域遇到Uncaught Can not find class laya.ui.WXOpenDataViewer 问题状态 最...

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

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

升级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

18. Uncaught 无法实例class PhysicsCollider extends PhysicsTriggerComponent [ 71%]

... 无法实例class PhysicsCollider extends PhysicsTriggerComponent {     constructor(collisionGroup = Physics3DUtils.COLLISIONFILTERGROUP_DEFAULTFILTER, canCollideWith = Physics3DUtils.COLLISIONFILTERGROUP_ALLFILTER) {         super(collisionGroup, canCollideWith);         this._enableProc...

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

19. 报错,这不是个构造函数 "StartPage is not a constructor" [ 71%]

报错,这不是个构造函数 "StartPage is not a constructor" StartPage: /**Created by the LayaAirIDE*/ var StartPage=(function(_super){ function StartPage(){ StartPage.__super.call(this); } Laya.class(StartPage,'view.StartPage',_super); return StartPage; })(StartPageUI) LayaSample: var La...

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

20. Cannot read property 'load' of null [ 70%]

...null,为什么会出现为null的情况?  代码如下: class main{ constructor(){ MapManager.getInstance().LoadMapResource(); } } new main(); class MapManager { private static s_instance = null; public static getInstance():MapManager { if(null==this.s_instance) { this.s_instance=new MapManager...

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