大约有 1,492 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0048 秒)
...tage.on(Laya.Event.MOUSE_UP, this, function () { var str = ""; if (!hit.sprite3D) { str = "点击选取的几何体"; } else { Laya.stage.removeChild(scene3D); } console.log(str); }); 每次删除scene3D后又被添加进来了。不知道...
来源: Laya_社区 发布时间: 20171016
1.7.7 bate 没有办法判断接口类吗 用is if(configMgrClass is IFactory) 2017-07-06 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 cuixueying 赞同来自: 可以判断,还是上面的写法,你有遇...
来源: Laya_社区 发布时间: 20170706
gps定位获取当前城市名字 if(Geolocation.supported) { Geolocation.enableHighAccuracy = true; Geolocation.getCurrentPosition(Handler.create(this,function(pos):void { alert("pos:"+pos.coords.longitude+","+pos.coords.latitude); }),Handler.create(this,function(error):void { switch (error.code) ...
来源: Laya_社区 发布时间: 20170223
...(Math.PI / 2 * i)) tileIndices.forEach((idxOnSource, idxOnTilemap) => { if (!idxOnSource) return const position = tilemap.getTilePositionByIndex(idxOnTilemap) const tileTexture = getTexture(idxOnSource) const matrix = matrices[(tileRotates && tileRotates[idxOnTilemap]) || 0] this.graphics...
来源: Laya_社区 发布时间: 20180720
...会满足,想手动控制跳帧,无法跳 currentAni是Skeleton动画 if(this.currentAni.index==this.currentAni.total-1) { } 附件 : --> 2019-03-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aa...
来源: Laya_社区 发布时间: 20190309
...把Laya.init的值写成一个动态的变量,譬如 Laya.init(ww,hh); if(fuScreen) { ww=xxx; hh=xxx; } else { ww=xxx; hh=xxx; } 2017-04-27 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 shiyang 相关问题 uni...
来源: Laya_社区 发布时间: 20170427
...questCallback); } private function requestCallback(success:Boolean):void { if(success) { loadingRes(); } } "TypeError: this.loadingRes is not a function\n at RequestConfig.__proto.requestCallback [as _callback] 2017-01-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果...
来源: Laya_社区 发布时间: 20170118
...rt(): void { this.color_btn.on(Laya.Event.CLICK, this, this.onTipClick); } if(tipBtn == this.color_btn){ this.label.bgColor = "#ffffff"; 2019-07-22 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回复 为什么被折...
来源: Laya_社区 发布时间: 20190722
... ${progress.toFixed(2)}%\n`; // 加载完成后清除进度事件帧监听 if (progress == 100) { this.logger.text = `当前下载进度: 100%\n`; Laya.timer.clear(this, this.onHttpRequestProgress); console.log("加载进度完成,清除进度事件帧听"); } } /** * 请求完成时触发的响...
来源: Laya3.0_文档 发布时间: 20251010
...1.7.22 Component 中的 changeSize 方法增加了下面的代码引起的 if (this._layout.enable){ this.resetLayoutX(); this.resetLayoutY(); } 2018-12-14 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个...
来源: Laya_社区 发布时间: 20181214