大约有 636 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0087 秒)
...2 @Laya_Yan:改完以后换了个地方报错。throw gl.getProgramInfoLog(this._program); laya.core.js 3565行
来源: Laya_社区 发布时间: 20220824
...信小游戏2D示例,直接使用wx.login是报错的,warning:wx.login This variable is not defined. 那是怎样使用微信API?另外看关https://ldc.layabox.com/doc/?nav=zh-as-5-1-0 发布是有libs的,但用创建的微信小游戏2D发布没有libs,需要怎样包含进来? ...
来源: Laya_社区 发布时间: 20180518
...showall"; loader.load("../../res/guide/crazy_snowball.png", Handler.create(this, init)); function init(e) { var width = stage.width; var height = stage.height; var bg = new Sprite(); stage.addChild(bg); bg.texture = e; bg.on("click", this, onClick); var guideContainer = new Sprite(); stage.addChild(...
来源: Laya_社区 发布时间: 20171031
...��/project/Games/CrossTheRiver/src/LayaSample.as (4):warning:Laya.init This variable is not defined. 有段时间没弄laya了,都忘了,囧…… 附件 : --> 2017-11-06 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提...
来源: Laya_社区 发布时间: 20171106
...注: 4 人 松 • 2018-07-28 16:21 Laya.stage.on(Event.VISIBILITY_CHANGE,this,pause); 这个消息没触发,拿不到进入后台状态 所以声音没法关 Laya_Aaron • 2018-07-28 16:28 这个不是引擎能解决的问题 松 • 2018-07-28 16:31 @Laya_Aaron:哦 那请问 调用系统Api拿...
来源: Laya_社区 发布时间: 20180728
...new Laya.Vector3(0, 0.01, 0); layaMonkey.once(Laya.Event.HIERARCHY_LOADED, this, function () { layaMonkey.transform.localScale = new Laya.Vector3(300, 300, 300); Laya.Utils3D.convert3DCoordTo2DScreenCoord(translate, translate); layaMonkey.transform.position = translate; Laya.timer.frameLoop(1, this,...
来源: Laya_社区 发布时间: 20170807
...nect to runtime process, timeout after 10000 ms - (reason: Can't attach to this target that may have Chrome DevTools attached - file:///E:/xxxxxxx/bin/index.html). 因为 我再layaari 模拟器 下面 调试了 F12后 模拟器 就会和代码断开!我重新运行 会打开多个模拟器 导致...
来源: Laya_社区 发布时间: 20170613
...s 1 5907 error Failed at the electron@1.7.9 postinstall script. 5907 error This is probably not a problem with npm. There is likely additional logging output above. 5908 verbose exit [ 1, true ] 附件 : --> 2017-12-06T10_02_53_392Z-debug.zip 2017-12-06 添加评论 免费帖 --> 分享 微博 QZONE...
来源: Laya_社区 发布时间: 20171206
...nCurveWall方法内,instantiate复制对象内传入的参数拼写错误this.wallCurvePre没有,应该是改为this.wallCurve。 CubeLearn_Laya.zip 2022-03-31 1 1 分享 微博 QZONE 微信 Laya_Yan 赞同来自: 没有losd这个方法,您想用的是load吗? 2022-03-25 0 0 分享 微博 QZ...
来源: Laya_社区 发布时间: 20220325
...的代码还是脚本里面的,如果是在runtime中的,是要使用this.onUpdate()去调用的。 在编辑的时候两种onUpdate也是有差异的,extends Laya.Script的脚本中的onUpdate,鼠标移上去是有功能说明的:每帧更新时执行,尽量不要在这里写大循环...
来源: Laya_社区 发布时间: 20190221