大约有 203 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0101 秒)
...tion Connect(url:String):void { socket=new Socket(); socket.on(Event.OPEN, this, onSocketOpen); socket.on(Event.CLOSE, this, onSocketClose); socket.on(Event.MESSAGE, this, onMessageReveived); socket.on(Event.ERROR, this, onConnectError); socket.connectByUrl(url); } public function Add(handler:IHandl...
来源: Laya_社区 发布时间: 20170724
...父级div定位 可以通过 var target=document.getElementById('div-id'); this._point.setTo((e.pageX || e.clientX)-target.offsetLeft,( e.pageY || e.clientY)-target.offsetTop); 2021-05-08 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 CC...
来源: Laya_社区 发布时间: 20200825
... • 2018-12-21 12:10 然后你的addchild可以添加在dialog页面,既this.addchild(),不一定要在stage上。因为dialog是最上层页面场景,可能会把你添加在stage上的遮住。 X. • 2018-12-21 14:37 @内涵tv何吓吓:2.0的,我换了一种方法写就可以i了
来源: Laya_社区 发布时间: 20181221
...ring ="http://layabox.com/"; qrcode.makeCode(url); Laya.stage.once("click",this,clickHandler); qrcodeSp = new Sprite(); Laya.stage.addChild(qrcodeSp); } private function clickHandler():void { var url:String = qrcode._oDrawing._elImage.src;//获取,注意这里是异步的,开发者可以加个...
来源: Laya2.0_文档 发布时间: 20210715
...l:string, width:number, height:number):string { return this._bridge.call("createQrCode", url, width, height); } // 以下android代码 // JSBridge.javapublic static String createQrCode(final String content, final double width, final double height) { Bitmap bitmap...
来源: Laya_社区 发布时间: 20200729
...phpContent.replace(regExp0, "private " + name2s); var regExp = new RegExp("this."+name + "\\(", 'gi'); phpContent = phpContent.replace(regExp, "this." + name2s); regExp = new RegExp("this."+name + "\\," , 'gi'); phpContent = phpContent.replace(regExp, "this." + name2 + ","); regExp = new RegExp("thi...
来源: Laya_社区 发布时间: 20190613
...nction这样定义:function (){if(arguments.length>0&&"return this"===arguments[arguments.length-1])return function(){return e}} Chrome和预览里面的Function这样定义:function Function() { [native code] } 2018-03-07 0 0 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: 用这...
来源: Laya_社区 发布时间: 20180302
...8224f64ddb 08-14 10:57:48.979 22228-22354/? I/LayaBox: release JSWebSocket this=adf7dbf8 deletgate=adfb4648 08-14 10:57:49.131 3084-3555/? D/AudioFlinger: mixer(0xaad8e188) throttle end: throttle time(29) --------- beginning of crash 08-14 10:57:49.222 22858-22354/? A/google-breakpad: ...
来源: Laya_社区 发布时间: 20180814
...et 1 01-06 17:34:41.531 335 335 I C02c11/APPSPAWN: [appspawn_service.c:226]this is unlock status 01-06 17:34:41.531 335 335 I C02c11/APPSPAWN: [appspawn_server.c:218]AppSpawnProcessMsg id 19 0x0 -- 01-06 17:34:41.545 902 902 E C02515/DISP: [SetMetadata:85] <private> is not supported 01-06 17:3...
来源: Laya_社区 发布时间: 20250106
...试Unity导出Anim后用Laya运行时_handleSpriteOwnersByClip函数中抛this._clips[clipIndex]._nodes为null的访问异常,Unity版本为2017.2.0f3,Laya引擎版本为1.7.13,请大神帮忙看看是怎么回事 TestAnim.rar 2018-01-03 3 4 分享 微博 QZONE 微信 cuixueying 赞同来自: ...
来源: Laya_社区 发布时间: 20170428