大约有 33 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0025 秒)
LayaAir引擎 动态创建img 或 sprite let dd = new Laya.Sprite(); dd.graphics.drawTexture(this.img.texture, 0, 0, 750, 1334); dd.x = 50; dd.y = 50; this.addChild(dd); this.img 绝对不为空,我想用一个sprite来画它,请问什么画(不是拷贝)? 2018-01-24 添加评论 ...
来源: Laya_社区 发布时间: 20180124
...nt.HomeScaleFilterImg(3, 655, "home/imgExpedition.png", 0); this._sprHome.addChildAt(this.imgExpedition, 0); this.homeScaleFilterImgList.push(this.imgExpedition); Laya.timer.once(2000, this, () => { let dd: Laya.HitArea = new Laya.HitArea(); this.imgExpedition.hitArea = dd; dd.hit.drawRect(17...
来源: Laya_社区 发布时间: 20180507
...ils.Handler; import view.TestView; public class LayaUISample { private var dd:*; public function LayaUISample() { //初始化引擎 Laya.init(600, 400); //判断是否在加速器端 __JS__("if(window.conch)") { //获取loadingview的实例 dd=__JS__("window.loadingView"); 通过loading方法进行...
来源: Laya_社区 发布时间: 20160918
...system/lib64/libart.so (_ZN3art7Runtime5AbortEPKc+464) [arm64-v8a::e0e24da8dd8477320b338792456adf5f] 6 #05 pc 00000000000c2efc /system/lib64/libart.so (_ZN3art10LogMessageD2Ev+1592) [arm64-v8a::e0e24da8dd8477320b338792456adf5f] 7 #06 pc 000000000022aeec /system/lib64/libart.so (_ZN3art22IndirectRefe...
来源: Laya_社区 发布时间: 20190603
...器端 __JS__("if(window.conch)") { //获取loadingview的实例 dd=__JS__("window.loadingView"); 通过loading方法进行进度值传参 dd.loading(50); } //加载引擎需要的资源 Laya.loader.load([{url: "res/atlas/comp.json", type: Loader.ATLAS}], Handler.create...
来源: Laya_社区 发布时间: 20180416
...: 2 人 jifm • 2016-12-14 13:57 问题找到了,多了一句$(".dd").remove();用的是zepto,但$(".dd")这个元素不存在,结果打包成app就报错了,浏览器调试没问题 cuixueying • 2016-12-14 14:15 好的
来源: Laya_社区 发布时间: 20161214
...h.floor(Math.random()*3+1) ; if(q == 1) { var cc:*=_tempFruitUi.panel; var dd:List=aa.getChildByName("firstList") as List; var itemB:Box = dd.getCell(0); var specificPic:Image = itemB.getChildByName("img1") as Image; specificPic.skin = "battle/xuanshangyu/Image_4003.png"; } fir.push(first); } _tempF...
来源: Laya_社区 发布时间: 20170616
... ,但是byte能获取到么 比如 public static byte getBytes() { byte dd2 = new byte{12, 3, 0}; return dd2; } public static Bitmap getBitmap() { } 可以在laya ts代码中获取到么 var byt = bridge.call("getBitmap"); 2025-09-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找...
来源: Laya_社区 发布时间: 20250917
... let url = 'http://sf6-be-pack.pglstatp-toutiao.com/obj/ad.union.api/e285dd263aee2e8f7b302fa8d139de4c' Laya.loader.load(url, Laya.Handler.create(this, () => { let picTemp = Laya.Loader.getRes(url); console.log(picTemp.width) // undefined let nodee = new Laya.Sprite() nodee.texture = picTemp nodee...
来源: Laya_社区 发布时间: 20211026
...e:26;'>嗯嗯嗯嗯嗯嗯噢噢噢</span><span style='color:#00dd22;fontSize:24;'>span啊啊span</span><span> </span><br/>" let str2:string = "<span style='color:#ffcc11;'>33333333333333333333333333 </span><a style='color:#ffcc11;' href='aaa28'&...
来源: Laya_社区 发布时间: 20191231