大约有 78 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0030 秒)
...vate client: Paho.MQTT.Client; private message: Paho.MQTT.Message; private self = this; public constructor() { public connect(url, port, client): void { //初始化 this.client = new Paho.MQTT.Client(url, Number(port), client); // set callback handlers //连接消失 收到消息 this.client.onConne...
来源: Laya_社区 发布时间: 20180903
...*)view drawInRect:(CGRect)rect { //conchRuntime renderFrame [self.m_pConchRuntime renderFrame]; NSLog(@"----------------------%s----------------------", __FUNCTION__); } 下附重现Demo! https://github.com/al1020119/LayaNativeSwiftOC 不知道有没有传成功,看不到...
来源: Laya_社区 发布时间: 20190510
...显示 __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
...llback (E:\gitApp\Felguard_TD_Server\server\gulpfile.js:348:27) at Request.self.callback (D:\新安装工具\layabox2.0\LayaAi 出错了:rIDE_beta\resources\app\node_modules\request\request.js:186:22) at emitTwo (events.js:106:13) at Request.emit (events.js:194:7) at Request.<anonymous> (D:\...
来源: Laya_社区 发布时间: 20181224
...自定义计算工具包--> <script type="text/javascript" src='math.self.js'></script> 打包之后,发生的bug如下: math is not defined ReferenceError: math is not defined at http://127.0.0.1:19768/game/code.js:60:1 at require (http://127.0.0.1:19768/game/__ ... :...
来源: Laya_社区 发布时间: 20190312
...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
...o=5 tid=1 Waiting | group="main" sCount=1 dsCount=0 flags=1 obj=0x73971890 self=0x7d3e4c0a00 | sysTid=30347 nice=-10 cgrp=default sched=0/0 handle=0x7d42cd29b0 | state=S schedstat=( 13445238879 5209712503 44696 ) utm=931 stm=413 core=3 HZ=100 | stack=0x7fcb03f000-0x7fcb041000 stackSize=8MB | held mu...
来源: Laya_社区 发布时间: 20190626
...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
...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