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

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

51. unity导出的3D动画模型,导入 laya环境报错: node._setParent is not a function [ 91%]

...出的3D动画模型,导入 laya环境报错: node._setParent is not a function var role3D: Laya.Sprite3D = Laya.loader.getRes("res/lk4.lh") as Laya.Sprite3D; //加载到场景 scene.addChild(role3D);  //此处报错 var ani = role3D.getComponent(Laya.Animator) as Laya.Animator; //播放攻击...

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

52. laya加载unity插件导出的场景 physics3D is not a function [ 90%]

laya加载unity插件导出的场景 physics3D is not a function unity 导出的场景 放入LayaAir5.1里面加载 有 physics3D 引用。 但是一直报 laya.d3.js:14694 Uncaught TypeError: physics3D is not a function at Function.Laya3D.init (laya.d3.js:14694) at new GameUI (GameUI.ts:34) at Sce...

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

53. Texture的getPixels()在Android下调用提示is not a function [ 90%]

Texture的getPixels()在Android下调用提示is not a function  layaAir调试 和 chrome调试 和 android下的字偏移都不一样。社区里一些帖子的回复是自己去做偏移调整。我尝试把fontSize从20~200的label,画到texture,然后去得到第一个像素值不为0...

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

54. 调用动画结束on方法,报错this.zombieAnimator.on is not a function [ 90%]

调用动画结束on方法,报错this.zombieAnimator.on is not a function 创建官方示例3D Laya.Sprite3D.load("res/threeDimen/skinModel/Zombie/Zombie.lh", Laya.Handler.create(this, function(zombie:Laya.Sprite3D):void { scene.addChild(zombie); this.zombieAnimator = (zombie.getChildAt(0) as Lay...

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

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

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

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

56. matter-RenderLaya问题——LayaRender.run is not a function [ 89%]

LayaAir引擎 matter-RenderLaya问题——LayaRender.run is not a function 我从官方复制的代码,可能是版本的问题,但是我又不知道对应哪个版本,有空帮我看一下谢谢了 附件 : --> FireBird.zip 2017-04-25 添加评论 免费帖 --> 分享 微博 QZONE 微信 ...

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

57. 打包小游戏后在开发者工具中报错 CharRender_Canvas.ctx.fillAndStrokeText is not a function [ 89%]

...开发者工具中报错 CharRender_Canvas.ctx.fillAndStrokeText is not a function WAGame.js:3 gameThirdScriptError CharRender_Canvas.ctx.fillAndStrokeText is not a function TypeError: CharRender_Canvas.ctx.fillAndStrokeText is not a function     at CharRender_Canvas.__proto.getCharCanvas (http://...

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

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

... 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 LayaSample = (function(){ (function(){ Laya.init(667,3...

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

59. at api readFile fail callback function [ 89%]

at api readFile fail callback function 项目发布微信小游戏运行进入游戏报 at api readFile fail callback function错误 这个怎么解决 附件 : --> 2018-08-13 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1...

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

60. 导出场景文件报错resou._removeReference is not a function [ 89%]

导出场景文件报错resou._removeReference is not a function 2019-01-28 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 6 个回复 Laya_Aaron 赞同来自: 条件不足,无法作答 2019-02-13 0 0 分享 微博 QZONE ...

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