大约有 1,374 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0071 秒)
Laya_社区(1168) Laya2.0_文档(69) Laya3.0_文档(67) Laya2.0_示例(27) Laya_示例(24) Laya3.0_api(17) laya_api(1) Laya2.0_api(1)
... this.state_ = EConnectionState.eConnected; console.log("conect to 127.0.0.1"); } protected _onMessage(msg: any): void { super._onMessage(msg); console.log("receve msg : "); console.log(msg); ...
来源: Laya_社区 发布时间: 20170602
...ction(){ this.pass = this.map.getLayerByIndex(0);//获取通行层 console.log(this.pass); } _proto.getLayer = function() { this.floor = this.map.getLayerByIndex(0);//获取通行层 console.log(this.pass); } console.log(this.map) return loadMap; })(Sprite);**游戏主入口** var Main = (function (...
来源: Laya_社区 发布时间: 20170605
...onError); })(); function onAssetLoaded(texture) { // 使用texture console.log("加载结束"); } // 加载进度侦听器 function onLoading(progress) { console.log("加载进度: " + progress); } function onError(err) { console.log("加载失败: " + err); } })();module laya { import Event = Laya....
来源: Laya_示例 发布时间: 20260303
...包js打印问题 你好,我用android studio 离线打包,为什么在logcat里打印不出js的console.log()内容?是不是需要哪里配置或导入插件? 2018-09-13 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提...
来源: Laya_社区 发布时间: 20180913
...\Roaming\npm\node_modules\layacmd\node_modules\@types' npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\itadmin3\AppData\Roaming\npm-cache\_logs\2017-10-27T02_56_ 14_026Z-debug.log 2017-10-27 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 ...
来源: Laya_社区 发布时间: 20171027
... E [ArkRuntime Log] TypeError: Cannot read property getContext of undefined 10-31 09:07:08.249 20856-2248 C03f00/ArkCompiler E [ArkRuntime Log] at func_main_0 (entr...
来源: Laya_社区 发布时间: 20251031
... var fish:CFFish = Laya.Pool.getItemByClass(type,CFFish) as CFFish console.log(fish) fish.visible = true fish.init(type) 调用init方法时候闪退,错误信息是 "fish.init is not a function" "TypeError: fish.init is not a function at Function.CFSprite.reusableFishWithType (file:///Users/heboy...
来源: Laya_社区 发布时间: 20180404
...的是即使节点未激活onAdded也会调用 onAdded(): void { console.log("Game onAdded"); } //组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 onAwake(): void { console.log("Game onAwake"); } //组件被启用后执行,比如节点被添加到...
来源: Laya3.0_文档 发布时间: 20251010
...; x = t.getPixels(0,0,400,400) console.log(x) for (let i of x) { if (i > 0) { console.log(i) } } console.log(' ----- 到这里为...
来源: Laya_社区 发布时间: 20171201
...后)会黑屏,然后要等好长的一段时间才响应过来,我看log此时JS逻辑都没跑了。 苹果虽然不会黑屏,但画面会不动,失去响应,过一段时间JS逻辑才跑起来。 p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; line-height: 19.0px; font: 13.0px 'Helvetica Neue';...
来源: Laya_社区 发布时间: 20190609