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

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

71. 实例化 laya.ani.bone.Skeleton 对象报错 [ 65%]

....Skeleton 对象报错 export default class showSpine extends Laya.Script{ constructor() { super(); //创建一个Skeleton对象 //Laya let skeleton: laya.ani.bone.Skeleton = new laya.ani.bone.Skeleton(); } } 实例化报错 为啥 2018-09-28 添加评论 免费帖 --> 分享 微博 QZONE 微信 没...

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

72. worker的问题 [ 65%]

...iled to construct 'Worker': Please use the 'new' operator, this DOM object constructor cannot be called as a function." 2018-01-08 0 0 分享 微博 QZONE 微信 fool_tiger 赞同来自: 还要在index.html中写啊,我以为在as3脚本里写就行了? 2018-01-08 0 1 分享 微博 QZONE 微信 ...

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

73. mac下ide调试 [ 65%]

...都会报这个错   代码里lay自带都库会报错 Vector3 is not a constructor   我用都laya as3  laya这边mac是不是根本就没测试过 各种问题 2018-08-25 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 ...

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

74. "Background is not defined"怎么会没定义呢???求救 [ 65%]

... 2017-04-21 10:42 还是报错啊~ TypeError: window.Background is not a constructor

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

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

...弹脚本。 */ export default class GameUI extends ui.test.TestSceneUI { constructor() { super();       //添加3D场景 Laya.Scene3D.load("res/Conventional/SimpleTown_DemoScene.ls",Laya.Handler.create(this,function(s:Laya.Scene3D):void{ var scene = s; Laya.stage.addChild(scene); //创建摄像...

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

76. 嵌套类型的protobuf报错 [ 64%]

...的proto decode的时候报错   Uncaught TypeError: this.clazz is not a constructor     at Message.ProtoBuf.Reflect.MessagePrototype.decode (protobuf.js?tick=17185:3213)     at Element.ProtoBuf.Reflect.ElementPrototype.decode (protobuf.js?tick=17185:2201)     at Field.ProtoBuf.Reflect.FieldP...

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

77. 定义了一个类,运行时找不到 [ 63%]

...DealSystem" 但是运行时报错 TypeError: _DealSystem2.default is not a constructor 怎么就成了DealSystem2 2019-02-02 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: 这个需要上...

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

78. ts继承后,代码压缩的问题 [ 62%]

...b[p] } ; return function(d, b) { extendStatics(d, b); function __() { this.constructor = d } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __) } }(); 然后运行代码会报Uncaught TypeError: LayerManager is not a constructor的错误 我看到Laya有一个Laya.cla...

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

79. Vector 向量如何创建? 在2d微信小游戏中 [ 62%]

...向量  var v = new Vector2(); 会报错   TypeError: Vector2 is not a constructor 2018-06-07 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 c__yh 赞同来自: 在3d工程里面是可以的,2d不行。我们...

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

80. laya.net.URL_API3.0 [ 62%]

...tomFormat函数,可以自定义URL格式化的方式 Hierarchy URL Index Constructors constructor Properties basePath basePaths rootPath version Accessors path url Methods __init__ customFormat formatURL getFileName getPath getResURLByUUID getURLVerion initMiniGameExtensionOverrides join normalize...

来源: Laya3.0_api 发布时间: 20231115