大约有 912 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0050 秒)
...DO. } }在main.ts的构造函数中,总是报错,提示 MyNamespace is not defined, 但是,如果我不用新文件,把这段定义放在main.ts内,就不会报错,请问如何引用外部文件的命名空间? 2018-09-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有...
来源: Laya_社区 发布时间: 20180918
...面侦听) Laya2.0 WebGl模式,使用 drawToCanvas 报错 ImageData is not defined? laya2的Scene默认是文件模式,不会生成场景类了,此时该如何获得场景内的元素 救命!canvas定位后 点击区域偏移,求大大们解答 ui list 里面的元素不能点击两次 ...
来源: Laya_社区 发布时间: 20240919
...d4.7),编译报Laya.init未定义 自定义组件发布之后报:can not create:ScaleButton ,发布之前正常,发布前后代码也被更改了 IDE如何自定义快捷键! "Background is not defined"怎么会没定义呢???求救 Laya3D可以自定义材质吗? 关于UI子界...
来源: Laya_社区 发布时间: 20190318
...ARN deprecated core-js@2.6.12: core-js@<3.4 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependenci...
来源: Laya_社区 发布时间: 20220406
Search Preparing search index... The search index is not available ts Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/physicsCannon/CannonContactPoint" CannonContactPoint Class CannonContactPoint ContactPoint 类用于创建物理碰撞信息。 Hiera...
来源: Laya3.0_api 发布时间: 20231102
Search Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/physics/ContactPoint" ContactPoint Class ContactPoint ContactPoint 类用于创建物理碰撞信息。 Hierarchy ContactPoint I...
来源: Laya3.0_api 发布时间: 20231115
...罩效果 里边的示例运行报错 Uncaught TypeError: this.setTo is not a function(function () { const Loader = Laya.Loader const Handler = Laya.Handler (function () { Laya.init(1136,640) Laya.stage.bgColor="#fff" Laya.loader.load('./../bin/res/atlas/res.atlas', Handler.create(this, onLoaded)) ...
来源: Laya_社区 发布时间: 20180810
...var b = a.id; //点击按钮执行到这里肯定是报错的TypeError: Cannot read property 'id' of undefined . 如果继续运行整个layaair调试器就会停止响应.整个程序就此瘫痪 //测试崩溃代码结束 }同样看看laya2.0的项目 onTipClick(e: Laya.Event): void { //测试崩...
来源: Laya_社区 发布时间: 20190508
...Laya.init(stageWidth, stageHeight, WebGL);否则会报错:TypeError: Cannot read property 'frameLoop' of nullvar Browser = Laya.Browser; var WebGL = Laya.WebGL; var Matter = window.Matter; var LayaRender = window.LayaRender; var stageWidth = 800; var stageHeight = 600; Laya.init(stageWidth, stageH...
来源: Laya_社区 发布时间: 20170905
...存就会显示成负数 laya2.0加载3d场景报错Uncaught TypeError: Cannot read property 'btCollisionObject' of undefined 【带附件】 使用Laya2.0.0beta5.1 发布官方示例 真机报错 window is not defined Animator 如何获取当前所有动画名称呢?或者所有的AnimationClip...
来源: Laya_社区 发布时间: 20180312