大约有 1,363 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0052 秒)
Laya_社区(1161) Laya2.0_文档(69) Laya3.0_文档(63) Laya2.0_示例(27) Laya_示例(24) Laya3.0_api(17) laya_api(1) Laya2.0_api(1)
...接 提交 2 个回复 Supermang42 赞同来自: cuixueying 、mayzhengxi Log 印出來應該會是以下這樣: Vector3 {elements: Float32Array[3]} 改成這樣: console.log( camera.transform.position.x ); console.log( camera.transform.position.y ); console.log( camera.transform.po...
来源: Laya_社区 发布时间: 20170808
...触发多次,连constructor都执行了两次 onAwake():void { console.log("onAwake"); } onStart():void { console.log("onStart"); } onEnable():void { console.log("onEnable"); } onDisable():void { console.log("onDisable"); } 附件 : --> 2019-12-09 添加评论 免费帖 --> 分享 微博 QZONE 微...
来源: Laya_社区 发布时间: 20191209
....ls", Laya.Handler.create(this, function () { //complete func console.log("Scene loaded"); isLoaded = true; }), Laya.Handler.create(this, function (pro) { if (debug) console.log("Loading progresss : " + pro); }, null, false), Laya.Scene); Monica • 2018-03-21 11:01 @jinfawu...
来源: Laya_社区 发布时间: 20180321
...印到控制台。然而,什么也获取不到 下面是代码 console.log("开始测试"); var xhr = new Laya.HttpRequest(); xhr.http.timeout = 10000;//设置超时时间; xhr.once(Event.COMPLETE, this, completeHandler); xhr.once(Event.ERROR, this, errorHandler); xhr.on(Event.PROGRESS, this, pr...
来源: Laya_社区 发布时间: 20180208
...数据怎么获取 private openHandler(event: any = null): void { console.log(`平台 正确建立连接`); this.socket.send("getScore"); } private receiveHandler(msg: any = null,data): void { console.log(`接收到数据触发函数:` + msg); ////////////////////////////////////////////////////////...
来源: Laya_社区 发布时间: 20180424
...数: onTriggerEnter(other: any, self: any, contact: any): void { console.log(other); //被碰撞的对象 console.log(self); //自己 console.log(contact); //连接点对象, contact.getHitInfo(); //这里有碰撞点的信息 } 官方文档不全,或者说没法说的那么仔细,如果...
来源: Laya_社区 发布时间: 20181026
...elta累计游戏玩了多长时间 下面是代码: onHide():void{ console.log("onhide|aaa|" + Laya.timer.delta); Laya.timer.scale = 0; console.log("Laya.timer.scale=" + Laya.timer.scale); } onShow():void{ console.log("onshow|bbb|111|" + Laya.timer.delta); Laya.timer.scale = 1; console.log("onshow|b...
来源: Laya_社区 发布时间: 20180806
... if(other.label === "heng"){ console.log("角度"+this.owner.rotation); this.owner.rotation=180-n; console.log("角度"+this.owner.rotation); } if(other.label === "shu"){ ...
来源: Laya_社区 发布时间: 20200817
... 项目打包成app后运行,使用XMLHttpRequest发出post请求后,log中出现了Download 我post的地址。然后有时候会卡住,大概5秒后会出现Download end:200的log,这之后才会真正把post请求发出去。有时候Download会直接超时报错。 网页版没问题...
来源: Laya_社区 发布时间: 20180315
...//www.baidu.com/","","get","text"); function processHandler(data){ console.log(data); console.log("1111"); } function errorHandler(data){ console.log("2222"); } function completeHandler(e){ console.log("3333"); } 2018-08-30 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结...
来源: Laya_社区 发布时间: 20180830