大约有 186 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0040 秒)
touches一直为undefined Laya.stage.on(Laya.Event.MOUSE_DOWN, this, onCtrlMoveRockerTouchDown); ...... function onCtrlMoveRockerTouchDown(e) { console.log("onCtrlMoveRockerTouchDown()"); var touches = e.touches; if(touches) { ...取出前两个touch进行计算 } }...
来源: Laya_社区 发布时间: 20171202
...么会报错: Uncaught TypeError: Cannot read property 'View' of undefined at eval (eval at __proto.complete (AA.max.js:410), <anonymous>:5:68) at eval (eval at __proto.complete (AA.max.js:410), <anonymous>:24:3) at eval (<anonymous>) at AA.__proto.c...
来源: Laya_社区 发布时间: 20170725
...景报错Uncaught TypeError: Cannot read property 'btCollisionObject' of undefined 鼠标自定义样式官方有支持吗,Laya.Mouse.hide()会报Uncaught TypeError: Cannot read property 'cursor' of undefined错误 Cannot read property 'displayObject' of null Uncaught TypeError: Cannot read proper...
来源: Laya_社区 发布时间: 20190418
Cannot read property 'rayCast' of undefined export default class indexscene extends Laya.Script { constructor(){ super(); this.rotation = new Laya.Vector3(0, 0.01, 0); this.point = new Laya.Vector2(); this.ray = new Laya.Ray(new Laya.Vector3(),new Laya.Vector3()); //1.开启第四个参数 let conf...
来源: Laya_社区 发布时间: 20200903
...景报错Uncaught TypeError: Cannot read property 'btCollisionObject' of undefined 2.2.0beta4 发布微信小游戏,安卓设备加载场景黑屏 laya2的Scene默认是文件模式,不会生成场景类了,此时该如何获得场景内的元素 unity导出的场景不显示实时阴影 laya2...
来源: Laya_社区 发布时间: 20200201
...得问题不知道如何解决 TypeError: Cannot read property 'props' of undefined preload.js:55 at Function._getSprite3DHierarchyInnerUrls (file:///D:/LayaAirProjects/myFirstLaya/bin/libs/laya.d3.js:30804:26) at Loader._onHierarchylhLoaded (file:///D:/LayaAirProjects/myFirstLaya/bin/libs/laya.d...
来源: Laya_社区 发布时间: 20180925
...景报错Uncaught TypeError: Cannot read property 'btCollisionObject' of undefined 本地调试加载本地图片都报错 官网示例摇一摇报错,就解决方案 小游戏项目 加载有中文的json文件 报错 微信小游戏编译报错 用了ByteArray的zlib.min.js后报错 runtime运...
来源: Laya_社区 发布时间: 20170204
... this.reset(); } ... "Cannot read property 'on' of undefined" "TypeError: Cannot read property 'on' of undefined at new GameInfo (file:///C:/Users/Kevin/Desktop/test/AirWar/AirWar09/src/GameInfo.js:12:22) at onLoaded (file:///C:/Users/Kevin/Desktop/test/AirWar/Air...
来源: Laya_社区 发布时间: 20171118
...景报错Uncaught TypeError: Cannot read property 'btCollisionObject' of undefined 播放背景音乐的问题 刚打开 桌面调试出现报错Uncaught (in promise) DOMException: play() 运行报错 Uncaught Can not find scene:GameView.scene undefined 鼠标自定义样式官方有支持吗,Laya...
来源: Laya_社区 发布时间: 20181018
...nManager.ts:10 Accessors currentFrameRate get currentFrameRate(): number | undefined Defined in laya/d3/WebXR/core/WebXRSessionManager.ts:232 The current frame rate as reported by the device Returns number | undefined referenceSpace get referenceSpace(): any set referenceSpace(newReferenceSpace: any...
来源: Laya3.0_api 发布时间: 20231115