大约有 965 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0061 秒)
...ya.Sprite(); s.graphics.drawRect(10, 10, 580, 470, "#000000"); s.pos(0,0); console.log("=mask container=>>", s.width, s.height)//打印出是0,0 this.scrollContainer.mask = s;//scrollContainer是一个有宽高的Box,为什么打印出的s的宽高是0,0,只要设置了mask,chrorme就...
来源: Laya_社区 发布时间: 20180828
...更新失败会进入cofig.js里边 window.onLayaInitError==function=(e) {console.log("onLayaInitError error=" =+ e); talert(加载游戏失败,可能由于您的网络不稳定,请退出重进") } 这个方法,然后就停在这里了。这里能否再调回JAVA代码,让程序继续执行...
来源: Laya_社区 发布时间: 20181214
... 内容是没有错误 url也是对的window.onLayaInitError=function(e) { console.log("onLayaInitError error=" + e); alert("加载游戏失败,可能由于您的网络不稳定,请退出重进"); } 附件 : --> 2024-04-01 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关...
来源: Laya_社区 发布时间: 20240401
... sp.mask = cMask //sp.addChild(cMask) //sp.removeChild(cMask) sp.pos(7,14) console.log(cMask.x, cMask.y) }, null, "image")) 一个圆形的遮罩显示微信头像.. 2018-07-10 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提...
来源: Laya_社区 发布时间: 20180710
...同来自: Rickshao 、qq771472501 Laya.timer.once(4000,this,function(){ console.log(Browser.window.sharedCanvas) var rankTexture=new Texture(Browser.window.sharedCanvas); rankTexture.bitmap.alwaysChange=true; console.log(rankTexture) LayaUISample.scoreview.grap...
来源: Laya_社区 发布时间: 20180310
... this.drag.x = e.stageX; this.drag.y = e.stageY; console.log(e.stageY, Laya.stage.mouseY, this.drag.y, "aaaaa") break; } } 视频结尾的打印906是物体的坐标,手指在Y轴:1300左右移动,只有部分机型(也就那一部XR)遇到这个bug ...
来源: Laya_社区 发布时间: 20230619
...ationTime,Laya.Ease.elasticOut,Laya.Handler.create(this, function(){ console.log("complete"); }),ConstValue.animationDelay); 无法直接设置原因是浅拷贝变量无法同步到原对象中去 2018-01-12 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回...
来源: Laya_社区 发布时间: 20180112
...] if (json.type!=="Scene"){ if (url == "scene/Demo_Interiors.ls"){ console.log(data[0]); throw new Error("Scene: the .lh file root type must be Scene,please use other function to load this file."); } } var innerResouMap=data[1]; Utils3D._createNodeByJson(this,jso...
来源: Laya_社区 发布时间: 20180101
...SE_DOWN, this, onStartPicture(Picture); } function onStartDragPicture(e) { console.log('onStartDragPicture e', e); } 返回的信息: Event _stoped: false currentTarget: Stage {focus: null, designWidth: 1307, designHeight: 758, canvasRotation: false, canvasDegree: 0, …} nativeEvent: MouseEvent {...
来源: Laya_社区 发布时间: 20181022
...,this,this.update); } private update() { let dt = Laya.timer.delta / 1000; console.log("dt="+dt); } } 附件中图1是在iphone6上面运行打印的信息,图2是在模拟下运行打印的信息。 请问有人碰到过这个问题吗? 附件 : --> 2018-08-08 添加评论 免费帖 --> 分...
来源: Laya_社区 发布时间: 20180808