大约有 393 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0057 秒)
LayaAir引擎 Cannot read property 'load' of null 查了断点,看到Laya.loader是null,为什么会出现为null的情况? 代码如下: class main{ constructor(){ MapManager.getInstance().LoadMapResource(); } } new main(); class MapManager { private static s_instance = null; public static...
来源: Laya_社区 发布时间: 20171124
LayaUISample.max.js:321 Uncaught TypeError: Cannot set property 'text' of null var txt:Label = cell.getChildByName("listNumber") as Label; txt.text = data.listNumber; 调试时会报:LayaUISample.max.js:321 Uncaught TypeError: Cannot set property 'text' of null 引擎版本 LayaAirAS3_1.7....
来源: Laya_社区 发布时间: 20170628
[LayaAir3]Laya.LayaGL 是null 升级到laya最新的3.1.3 版本 在使用Laya.init 的时候报错 renderOBJCreate 不存在 在core脚本里面 LayaGL 是空的 附件 : --> 2024-05-08 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的...
来源: Laya_社区 发布时间: 20240508
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
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
localToGlobalRect报错Uncaught TypeError: Cannot read property 'localToGlobalRect' of null 当我重新设置了Glist的numItems=0时,每次第一次运行,报错,但是不影响流程进行 但是没有调用配合的RenderItem组件,因为是0; 不知道为啥会如此运行? 2021-04-17 ...
来源: Laya_社区 发布时间: 20210417
VM6771:1 [GameOpenDataContext] Cannot assign to read only canvas. VM6771:1 [GameOpenDataContext] Cannot assign to read only canvas. 2018-11-13 2 条评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Laya_Aaron 赞同来自...
来源: Laya_社区 发布时间: 20181113
跳转场景后laya.core.js就报Cannot read property 'width' of null的错误 偶发性bug。 Uncaught (in promise) TypeError: Cannot read property 'width' of null at Function.Texture._create (laya.core.js:15946) at Texture.__proto._onLoaded (laya.core.js:15750) at EventHandler._...
来源: Laya_社区 发布时间: 20200201
2d示例项目打包为微信小游戏报错,Cannot read property 'LESS' of null 上个帖子点下面确认发起后哪也找不到了,很奇怪,再发一次。 上面截图来自 Render 的rinitRender 方法 总返回null 已上传附件 附件 : --> wxgame.zip 2022-06-16 添加评论 ...
来源: Laya_社区 发布时间: 20220616
IDE打开某个场景时弹处弹框报错:对[Dialog]的texture属性赋值时遇错误:cannot read property 'width' of null 对[Dialog]的texture属性赋值时遇错误:cannot read property 'width' of null 附件 : --> 2020-02-02 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有...
来源: Laya_社区 发布时间: 20200202