大约有 80 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0035 秒)
陀螺仪和加速计使用问题 Laya.Gyroscope.instance.on(Laya.Event.CHANGE,this,this.onDeviceorientation); Laya.Accelerator.instance.on(Laya.Event.CHANGE,this,this.onMotoin); 官网陀螺仪和加速计例子中的上面两句运行时都报 Cannot read property 'instance' of undefined 的错...
来源: Laya_社区 发布时间: 20180413
...tionAll Packages | All Classes | Index | Frames No Frames AcceleratorProperties | Methods Packagelaya.device.motionClasspublic class AcceleratorInheritanceAccelerator EventDispatcher Object Accelerator.instance获取唯一的Accelerator引用,请勿调用构造函数。 listen()的回调...
来源: laya_api 发布时间: 20170929
...tionAll Packages | All Classes | Index | Frames No Frames AcceleratorProperties | Methods Packagelaya.device.motionClasspublic class AcceleratorInheritanceAccelerator EventDispatcher Object Accelerator.instance获取唯一的Accelerator引用,请勿调用构造函数。 listen()的回调...
来源: Laya2.0_api 发布时间: 20190513
linux系统运行layaair-cmd报错 安装layaair-cmd没问题了,运行命令时报错: Platform does not support. /data/node_v8/lib/node_modules/layaair-cmd/layaair-cmd-resourceVersion.js:57 exit(1); ^ ReferenceError: exit is not defined at Object.<anonymous> (/data/node_v8/lib/node_modu...
来源: Laya_社区 发布时间: 20180514
DebugPanel报错 在index.html中已经加了 <script type="text/javascript" src="libs/laya.debugtool.js"></script> 在Laya.init()后面也加了 Laya.DebugPanel.init(); 运行报错, message: 'Property 'DebugPanel' does not exist on type 'typeof Laya'.' "Laya.DebugPanel.init is not...
来源: Laya_社区 发布时间: 20180308
使用 addChild 加载界面后,绑定事件报错 onConfigLoaded(): void { //加载IDE指定的场景 //GameConfig.startScene && Laya.Scene.open(GameConfig.startScene); Main.gameStart = new GameStart(); Laya.stage.addChild(Main.gameStart); ...
来源: Laya_社区 发布时间: 20190510
api readFile success callback function undefined 2018-07-25 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 prepares 赞同来自: 求帮助 2018-07-25 0 0 分享 微博 QZONE 微信 牛牛 赞同来自: 应该是...
来源: Laya_社区 发布时间: 20180725
HTMLDivElement添加&字符会报错 LayaSample.max.js:22828 Uncaught (in promise) Error: This page contains the following errors:error on line 1 at column 71: xmlParseEntityRef: no name 2018-10-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内...
来源: Laya_社区 发布时间: 20181024
自定义组件 GraphicAnimation 报错 自定义组件 GraphicAnimation 报错 Property 'GraphicAnimation' does not exist on type 'typeof display' 详细看图片 附件 : --> 2018-10-18 1 条评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链...
来源: Laya_社区 发布时间: 20181018
[LayaAir3]挂在scene3d节点上的脚本,onAwake(){ Laya.stage.on(Laya.Event.MOUSE_DOWN, this, this.onMouseDown); } 点击就报错 挂在scene3d节点上的脚本,onAwake(){ Laya.stage.on(Laya.Event.MOUSE_DOWN, this, this.onMouseDown);} 点击就报错 附件 : --> 2023-12-20 添加评论 ...
来源: Laya_社区 发布时间: 20231220