大约有 185 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0049 秒)
...ild(img); ........ onmousemove(e) { //console.log("e="+JSON.stringify(e)); for (var property in e) { console.log(property+"="+e[property]); } console.log("========================"); /**这里是运行后,在img上拖动给出的属性,没有鼠标的xy的坐标 * * _stoped=false game.js:116 nat...
来源: Laya_社区 发布时间: 20181031
... +' '+App.uid +' '+param.players[0].gold); for (var key in data.players) { if(data.players[key].uid ==App.uid) { this._ownerGold = data.play...
来源: Laya_社区 发布时间: 20180109
... color = this.color; let underline = this.underline; let bold = this.bold; for (var i = begin; i < end; i++) { var lines = this.typeLines[i]; var _word; if (this.align == "right") { startX = this._width - padding[1] - this.getTextLinesWidth(lines); } else if (this.align == "center") { startX = (t...
来源: Laya_社区 发布时间: 20180417
...自: 正确的写法: override protected function _onEnable():void { for (var i = 0, n = this._controllerLayers.length; i < n; i++) { if (this._controllerLayers[i].playOnWake) { var controllerLayer = this._controllerLayers[i]; var curPlayState = controllerLayer._currentPlayState; if (curPlay...
来源: Laya_社区 发布时间: 20190513
...有已注册类:"); const classMap = (Laya.ClassUtils as any)._classMap; for (const key in classMap) { console.log(` ${key}:`); } const GCtrClass = Laya.ClassUtils.getClass("GCtr"); if (!GCtrClass) { console.error("未找到 GCtr 类"); return; } // 3. 直接添加到当前脚本的owner节点...
来源: Laya_社区 发布时间: 20251230
...不多要20分钟了 Loongman • 2017-07-14 11:35 主要耗时在 Waiting for target device to come online 、 Installing APKs,之后模拟机上显示提示框:Process system isn't responding,最后才能看到目标界面 Monica • 2017-07-14 14:18 这个没有关系,模拟器本来就...
来源: Laya_社区 发布时间: 20170713
...,右键属性,在 目标(T):中加一段指令 --auto-open-devtools-for-tabs,点击确定。记住要用空格隔开。 4.复制一下这个路径 5.我们知道,layaide的chrome运行路径是可以在launch.json中修改的,所以需要从这里改。 我们在自己的项目中找到...
来源: Laya_社区 发布时间: 20200412
...stead if smoothing is needed. See https://www.chromestatus.com/f ... 29152 for more details. (anonymous) @ laya.core.js:16299 SoundManager.playSound @ laya.core.js:4878 SoundManager.playSound @ SoundManager.ts:13 LoginView.login @ LoginView.ts:24 __proto.runWith @ laya.core.js:711 __proto.event @ la...
来源: Laya_社区 发布时间: 20171228
... INDEX:bundle.js No matching export in "src/scence/uiDemo/registerRT.ts" for import "main" [Ln 96, Col 49] at /D:/Laya3IDE/LayaAirIDE/resources/app.asar/game.js:2编译失败 at /D:/Laya3IDE/LayaAirIDE/resources/app.asar/game.js:2 附件 : --> 2025-10-28 添加评论 免费帖 --> 分享 微博 ...
来源: Laya_社区 发布时间: 20251028
...载完atlas文件后会执行Loader.as的onLoaded中的如下代码 }else{ for (name in frames) { obj = frames[name];//取对应的图 tPic = pics[obj.frame.idx ? obj.frame.idx : 0];//是否释放 [i][b]url = URL.formatURL(directory + name); [/b][/i] cacheRes(url, Texture.create(tPic, obj.frame.x, o...
来源: Laya_社区 发布时间: 20180415