大约有 484 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0106 秒)
脚本引入时调用函数会出现 Cannot read property 'Init' of null 我有两个脚本 Car.js和GameManager.js 在GameManager.js 中对资源进行回收的时候,动态随机生成的预制体汽车 进行回收的时候 调用Car.js中的Init(sign){ this.sign=sign; } GameManager.js ...
来源: Laya_社区 发布时间: 20200909
今天打开微信工具出现错误Cannot read property 'USER_DATA_PATH' of undefined Wechat Lib:2.0.1, 2018.4.14 12:32:36 code.js:107 Warning!,this class[MiniAdpter] already exist: {init: ƒ} WAGame.js:3 gameThirdScriptError Cannot read property 'USER_DATA_PATH' of undefined TypeError: Cannot rea...
来源: Laya_社区 发布时间: 20180524
做了一个最简单的显示微信子域的程序,但是报错Cannot read property 'USER_DATA_PATH' of undefined Uncaught TypeError: Cannot read property 'USER_DATA_PATH' of undefined at Function.MiniFileMgr.setNativeFileDir (laya.wxmini.js:615) at Function.MiniAdpter.init (laya.wxmini.js:33) a...
来源: Laya_社区 发布时间: 20181026
Cannot read property 'displayObject' of null Cannot read property 'displayObject' of null 报这个错误要怎么解决 2018-07-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: steven c...
来源: Laya_社区 发布时间: 20180716
2d示例项目打包为微信小游戏报错,Cannot read property 'LESS' of null Cannot read property 'LESS' of null TypeError: Cannot read property 'LESS' of null at Function.value (http://127.0.0.1:43542/game/li ... :19438) at Object.value [as init] (http://127.0.0.1:43542/game/li ....
来源: Laya_社区 发布时间: 20220616
微信开放数据域加载图片后报错 Cannot read property 'USER_DATA_PATH' of undefined 在子域中简单的添加一张图片后,微信开发工具中报错 Cannot read property 'USER_DATA_PATH' of undefined 图片的url不管是本地的还是微信头像的url都会这样 主域中这...
来源: Laya_社区 发布时间: 20190529
...d not attach to main target laya2.0加载3d场景报错Uncaught TypeError: Cannot read property 'btCollisionObject' of undefined Laya3D init error, must support webgl有个WIN10的电脑,系统是正版,家庭版的,跳到编辑模式就显示这个 加载龙骨动画出报错Uncaught getUint1...
来源: Laya_社区 发布时间: 20180421
BackGround.super(this);这个报错 Cannot read property 'call' of undefined 2018-01-10 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 Laya_Aaron 赞同来自: 你具体描述一下你出现问题的环境, 以...
来源: Laya_社区 发布时间: 20180110
Cannot read property 'offCanplay' of null 游戏公测的时候,后台很多这样的报错。 Cannot read property 'offCanplay' of null TypeError: Cannot read property 'offCanplay' of null at n.onCanPlay (https://usr/game.js:39:9226) at Function.t (https://lib/WAGameSubContext.js:2:153278)Can...
来源: Laya_社区 发布时间: 20200612
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