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

大约有 2,609 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0099 秒)

81. Laya.timer.loop() 报错 Cannot read property 'loop' of null [ 93%]

Laya.timer.loop() 报错 Cannot read property 'loop' of null import { Image } from "laya/ui/Image"; // import { List } from "laya/ui/List"; import { Laya } from "laya"; export default class test_move extends Image{ // /** @prop {name:move_img, tips:"用来移动的箭头", type:Image} */ // public ...

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

82. 实例碰撞体报错,Cannot read property 'btSphereShape' of undefined [ 93%]

实例碰撞体报错,Cannot read property 'btSphereShape' of undefined Uncaught TypeError: Cannot read property 'btSphereShape' of undefined     at new SphereColliderShape (laya.d3.js:27198)     at new GameUI (GameUI.js:30)     at Function.ClassUtils.getInstance (laya.core.js:9634)   ...

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

83. 鼠标自定义样式官方有支持吗,Laya.Mouse.hide()会报Uncaught TypeError: Cannot read property 'cursor' of undefined错误 [ 93%]

...义样式官方有支持吗,Laya.Mouse.hide()会报Uncaught TypeError: Cannot read property 'cursor' of undefined错误 想实现鼠标样式自定义,但是使用官方提供的Mouse API编译都会报Uncaught TypeError: Cannot read property 'cursor' of undefined错误,但是代码并不会...

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

84. ani动画问题,cannot read property '_tf' of null [ 93%]

ani动画问题,cannot read property '_tf' of null showAni(panel:Laya.Box) {             if (!panel.contains(this)) {                 panel.addChild(this);                 this.pos(0,110);             }             let i = 1;             this.ani1.play(0, f...

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

85. Laya导入到微信开发者工具Cannot assign to read only property 'window' of object '#<Window>' [ 93%]

Laya导入到微信开发者工具Cannot assign to read only property 'window' of object '#&lt;Window&gt;' Cannot assign to read only property 'window' of object '#&lt;Window&gt;'这个问题到底怎么解决?有官方的回复了么? 我这里将ES6转ES5取消后,真机调试又不行“...

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

86. 导入缩放过带有MeshCollide时出错,Cannot read property 'setLocalScaling' of undefined [ 93%]

导入缩放过带有MeshCollide时出错,Cannot read property 'setLocalScaling' of undefined 求助,如何处理  Uncaught TypeError: Cannot read property 'setLocalScaling' of undefined     at MeshColliderShape.__proto._setScale (laya.d3.js:23983)     at PhysicsCollider.__proto._onScaleCh...

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

87. Laya3D中加载粒子特效报错Cannot read property '_update' of undefined [ 93%]

Laya3D中加载粒子特效报错Cannot read property '_update' of undefined 最新版IDE+引擎+导出工具 加载后特效播放期间报错 Cannot read property '_update' of undefined   特效是从网络上下载的,在U3D内播放正常,不太懂制作的原理,是有些属性Laya不...

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

88. Uncaught TypeError: Cannot read property 'props' of undefined [ 93%]

Uncaught TypeError: Cannot read property 'props' of undefined 按照官方提供的代码,导入从unity导出的场景,出现此错误,代码如下 var Main = (function () { function Main() { //初始化引擎 Laya3D.init(0, 0,true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.s...

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

89. localToGlobalRect报错Uncaught TypeError: Cannot read property 'localToGlobalRect' of null [ 93%]

localToGlobalRect报错Uncaught TypeError: Cannot read property 'localToGlobalRect' of null 当我重新设置了Glist的numItems=0时,每次第一次运行,报错,但是不影响流程进行 但是没有调用配合的RenderItem组件,因为是0;     不知道为啥会如此运行? 2021-04-17 ...

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

90. 微信开放数据域加载图片后报错 Cannot read property 'USER_DATA_PATH' of undefined [ 93%]

微信开放数据域加载图片后报错 Cannot read property 'USER_DATA_PATH' of undefined 在子域中简单的添加一张图片后,微信开发工具中报错 Cannot read property 'USER_DATA_PATH' of undefined 图片的url不管是本地的还是微信头像的url都会这样 主域中这...

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