大约有 39 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0037 秒)
...gt; { }); client.on(PinusWSClientEvent.EVENT_KICK, (event) => { }); let self = this; client.init({host: "192.168.1.218", port: 10000}, () => { }); } 附件 : --> WebsocketTest.zip 2019-05-07 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相...
来源: Laya_社区 发布时间: 20190507
...显示 __proto.uploaderHandler=function (files) { var self=this; var file=files[0]; var reader=new FileReader(); reader.onload=function () { this.headIcon.loadImage(this.result); 或者 this.headIcon.sk...
来源: Laya_社区 发布时间: 20170808
...e.js:21262) 相关逻辑代码如下: moveSuccess(){ this.owner.removeSelf(); Laya.Pool.recover("flyCat", this.owner) } onTriggerEnter(other: any, self: any, contact: any): void { if (other.label === "cloud") { Laya.Tween.clearAll(this._sp) let effect: Laya.Animation = Laya.Pool.getItemByCreate...
来源: Laya_社区 发布时间: 20191019
...t they expect on the App Store, we have always specified that apps must be self-contained bundles. This means that the core features and functionality of the app must be contained within the binary of the software, rather than made possible by referring users outside of the approved app, including t...
来源: Laya_社区 发布时间: 20190909
...his, this.onKeydown); } private function onKeydown(event:Event):void { var self:* = this; if(event.keyCode === Keyboard.SPACE) { //移除动画 if(testAnim1) { testAnim1.clear(); testAnim1.removeSelf(); testAnim1 = null; testAnim2.clear(); testAnim2.removeSelf(); testAnim2 = null; Loader.clearRes("r...
来源: Laya_社区 发布时间: 20180424
...der_id"]; [dict setObject:sCallbackURL forKey:@"backurl"]; [dict setObject:self.gameAppID forKey:@"gameid"]; NSData* pData = [NSKeyedArchiver archivedDataWithRootObject:dict]; [b]payment.requestData = pData;[/b]苹果官方文档(链接)中有明确提示 requestData参数: The default value...
来源: Laya_社区 发布时间: 20190510
...11a • 2020-03-09 14:18 你在FlyItem里添加 onTriggerEnter(other: any, self: any, contact: any): void { let rig: Laya.RigidBody = this.owner.getComponent(Laya.RigidBody) as Laya.RigidBody; let velocity = rig.linearVelocity; console.log(velocity) } 你把初始弹射改成一个球,你就会发...
来源: Laya_社区 发布时间: 20200307
...pContent.replace(regExp, "this." + name2 + ")"); var regExp2 = new RegExp("self."+name + "\\(", 'gi'); phpContent = phpContent.replace(regExp2, "self." + name2s); } } //====增加干扰代码================================================================== let arr2 = phpContent.split("\n"); //conso...
来源: Laya_社区 发布时间: 20190613
...erial; } let self = this; Laya.timer.loop(300, null, function () { console.log('8: ' + self.particleSystem.aliveParticleCount); }); ...
来源: Laya_社区 发布时间: 20170605