大约有 1,374 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0069 秒)
Laya_社区(1168) Laya2.0_文档(69) Laya3.0_文档(67) Laya2.0_示例(27) Laya_示例(24) Laya3.0_api(17) laya_api(1) Laya2.0_api(1)
laya.ui.js库引用不上,console.log报错ui is not defined f9设置也打包了UI库,但是就是引用不上 附件 : --> myLaya1.zip 2019-12-10 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Laya_Aaron ...
来源: Laya_社区 发布时间: 20191210
... success: function (res) { console.log('res ----------> ',res); // 分包加载成功后通过 success 回调 console.log("success"); console.log('Physics3D 获...
来源: Laya_社区 发布时间: 20190514
... //使精灵走到鼠标位置 function walkToMousePos(sprite){ console.log(Laya.stage.mouseX) ; console.log(Laya.stage.mouseY) ; console.log(sprite.x) ; console.log(sprite.y) ; var hDir = Laya.stage.mouseX>sprite.x? "right" : "left" ; var vDir = Laya.stage.mouseY>sprite.y? "down" : "up" ; /...
来源: Laya_社区 发布时间: 20180331
...rcPath:tempFilePath,destPath:saveFilePath,success:function (data){ console.log(data, fileObj) if (!fileObj){ MiniFileMgr.onSaveFile(readyUrl,tempFileName); callBack !=null && callBack.runWith([0]); }else { console.log(fileObj.readyUrl == readyUrl, 'zhege') if (fileObj.readyUrl !=readyUrl) Mi...
来源: Laya_社区 发布时间: 20180104
...ate openHandler(event: any = null): void { //正确建立连接; console.log("建立"+event);//没有写出 } private receiveHandler(msg: any = null): void { ///接收到数据触发函数 console.log("收到"+msg);;//没有写出 console.log(msg);;//没有写出 } private closeHandler(e: any = nu...
来源: Laya_社区 发布时间: 20180210
...= i.toString(); } console.log("add finished: ", myscene.numChildren); for(var i=0; i<myscene.numChildren; i++){ console.log(myscene.getChildAt(i).name) ...
来源: Laya_社区 发布时间: 20200723
...ements_scroll); } private fitDOMElements(a, b, c, d, e, f): void { console.log("----------the event resize-------") console.log("ref-resize:", this.myref.getBounds()); console.log("pan-resize", this.mypan.getBounds()); } private fitDOMElements_scroll(a, b, c, d, e, f): void { console.log("----------...
来源: Laya_社区 发布时间: 20170720
...aObj.errorMsg; if(str.indexOf("-100")>=0){ str="This account is already logged in!"; } TipsManager.Instance.ShowTips(str,"Confirm",OnCallBack); } } } else if (message is ArrayBuffer) { trace(new Byte(message).readUTFBytes()); } socket.input.clear(); } private function OnCallBack():void { MsgM...
来源: Laya_社区 发布时间: 20170724
...("layaair2-cmd compile"); process.stdout.on("data", (data) => { console.log(data); }); process.stderr.on("data", (data) => { console.error(data); }); process.on("exit", (code, signal) => { console.log("success"); // console.log(code, signal); // 编译结束,触发reload,浏览器会自...
来源: Laya_社区 发布时间: 20200908
...age.addChild(img1); img1.on(Laya.Event.CLICK,this, function(name){ console.log(name);},['图1']); var img2 = new Laya.Sprite(); img2.loadImage('https://layaair.ldc.layabox.com/demo/h5/res/apes/monkey2.png',200,300,90,90); Laya.stage.addChild(img2); img2.on(Laya.Event.CLICK,this, function(name){ cons...
来源: Laya_社区 发布时间: 20180621