大约有 4,102 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0073 秒)
Laya_社区(3323) Laya2.0_文档(296) Laya_示例(141) Laya2.0_示例(117) Laya3.0_文档(116) Laya3.0_api(94) Laya2.0_api(9) laya_api(6)
... ]; Laya.loader.load(resArray, Laya.Handler.create(this, () => { this.OnLoaded() }), null, Laya.Loader.ATLAS); }在IOS部分机型,如苹果8上,会出现资源加载出错,截图如附件一所示。 Load(): void { var resArray: Array<any&g...
来源: Laya_社区 发布时间: 20191030
...// 尝试获取当前位置 Geolocation.getCurrentPosition( Handler.create(this, onSuccess), Handler.create(this, onError) ); // 成功获取位置后触发 function onSuccess(info:GeolocationInfo):void { trace('经纬度: (' + info.longitude + '°, ' + info.latitude + '°),精确度:' + info.ac...
来源: Laya2.0_文档 发布时间: 20210714
...像的时候 有些能显示有些不行 data.face 是微信头像地址 this.uFace 是 laya.ui.Image this.uFace.loadImage(data.face, 0, 0, 50, 50, Handler.create(this, graphicsImg)) function graphicsImg() { //创建遮罩对象 var cMask = new Laya.Sprite(); //画一个圆形的遮罩区域 cMas...
来源: Laya_社区 发布时间: 20181214
...p(); })(); function setup() { var xmlValueContainsError = "item aitem bsomethis..."; var xmlValue = "item aitem bsomethings..."; proessXML(xmlValueContainsError); console.log("\n"); proessXML(xmlValue); } function proessXML(source) { try { var xml = Utils.parseXMLFromString(source); } catch (e) { co...
来源: Laya_示例 发布时间: 20251219
... *** I JSWebSocketDelegate::onClose()this={public}x ws={public}x 2025-11-14 10:03:41.989 9605-10051 LayaBox *** I WebSocket onSocketCallback connection closing 30 reason 2025-11-14 10:03:41.995 9605-9751 LayaBox ...
来源: Laya_社区 发布时间: 20251105
...序报错window.focus is not a function 调用动画结束on方法,报错this.zombieAnimator.on is not a function laya加载unity插件导出的场景 physics3D is not a function 用微信开发者调试的时候出现document.createTextNode is not a function api readFile success callback function...
来源: Laya_社区 发布时间: 20170321
... txt.color = "#ffffff"; Laya.stage.addChild(txt); txt.on(Event.MOUSE_DOWN, this, startScrollText); } /* 开始滚动文本 */ private function startScrollText(e:Event):void { prevX = txt.mouseX; prevY = txt.mouseY; Laya.stage.on(Event.MOUSE_MOVE, this, scrollText); Laya.stage.on(Event.MOUSE_UP, this...
来源: Laya2.0_文档 发布时间: 20210715
...:e:Laya.Event,这个能数有阻止点击事件冒泡 点击事件: this.btnHome.on(Laya.Event.CLICK, this, this.homeClick); private homeClick(e) { //防止点击事件穿透 e.stopPropagation(); } 2018-10-12 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回...
来源: Laya_社区 发布时间: 20180901
...le(1,1); Tween.to(image,{scaleX:0.5,scaleY:0.5},600,null,new Handler(this,tweenGuide,[image]),500); } public function tweenGuide1(image:Image):void { Tween.to(image,{x:100,y:100},600,null,new Handler(this,tweenGuide1,[image]),500); } ********************************************【End...
来源: Laya_社区 发布时间: 20161216
...TEXT } // 协议文件 ]; Laya.loader.load(uiResArray, Laya.Handler.create(this, onCompleted), Laya.Handler.create(this, ProgressPanel.showGameLoadingProgressPanel, null, false)); } /** * 显示一个模块面板 * 需要 资源altlas的名称和面板的类全名 * @static * @param {string[]} resAl...
来源: Laya_社区 发布时间: 20170905