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

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

21. new Laya.TiledMap()提示错误:Laya.TiledMap is not a constructor [ 90%]

new Laya.TiledMap()提示错误:Laya.TiledMap is not a constructor class GameMain{ private tMap:Laya.TiledMap; constructor() { Laya.init(Laya.Browser.width, 224, Laya.WebGL); this.tMap = new Laya.TiledMap(); var viewRect: Laya.Rectangle = new Laya.Rectangle(); this.tMap.createMap("../bin/res/Mari...

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

22. mac10.13.2 运行报错 Vector3 is not a constructor [ 90%]

mac10.13.2 运行报错 Vector3 is not a constructor 我和同事相同的mac机子,相同的代码,ide版本什么都对上的。就是我运行的时候会报这个错误。唯一的区别就是,他们的mac版本是10.12的   附件 : --> 2018-04-16 添加评论 免费帖 --> 分享 微...

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

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

报错,这不是个构造函数 "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

24. LayaAir新建3D示例项目,在as开发模式下,运行报错 TypeError: Vector3 is not a constructor [ 89%]

...项目,在as开发模式下,运行报错 TypeError: Vector3 is not a constructor 运行环境 MacOs 10.13.3  2018-05-07 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 4 个回复 海 赞同来自: 最新版本的layaIDE...

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

25. 动态加载代码后,总是出现 ProgressBar is not a constructor [ 88%]

LayaAir引擎 动态加载代码后,总是出现 ProgressBar is not a constructor //动态加载js文件--my.js function loadJs(jspath,defer = true) { //得到html的头部dom // var theHead = document.getElementsByTagName('head').item(0); var theHead = document.getElementsByTagName('body').item(...

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

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

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

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

27. TypeError: Cannot read property 'on' 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_社区 发布时间: 20190523

28. TypeError: Cannot read property 'm_jointList' of null [ 86%]

...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_社区 发布时间: 20190418

29. TypeError: Cannot read property '_byteLength' of null [ 84%]

...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_社区 发布时间: 20180125

30. TypeError: Cannot read property '_byteLength' of null [ 83%]

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