• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 1,869 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0062 秒)

1771. UI-Tree [ 43%]

...te(): void { // 组装tree的数据 var treeData: string = ""; for (var i: number = 0; i "; for (var j: number = 0; j "; } treeData += ""; } treeData += ""; // 解析tree的数据 var xml:any = Utils.parseXMLFromString(treeData); var tree: Tree = new Tree(); tree.scrollBarSkin = "res/ui/vscroll.png"...

来源: Laya2.0_示例 发布时间: 20260106

1772. layacmd atlas怎么指定输出的数据后缀为json? [ 43%]

...]     Options:       -V, --version     output the version number     -c --clear        clear will delete old ui code file.     -a --atlas        generate atlas     -d --code         generate ui code files     -m --mode <mode...

来源: Laya_社区 发布时间: 20180104

1773. 发现TimeLine的一些问题,像是BUG [ 43%]

...加缓动的函数 private function addTime(timeLine:TimeLine,sp:Sprite,yy:Number):void { timeLine=new TimeLine(); timeLine.to(sp, {y: yy}, 3000, Ease.linearIn); timeLine.once(Event.COMPLETE,this, complete,[sp,timeLine]); timeLine.play(0,false); } //清理缓动的函数 private function clearTime(t...

来源: Laya_社区 发布时间: 20161207

1774. Sprite-轴心点 [ 43%]

...or = "#232628"; this.createApes(); } private createApes(): void { var gap: number = 300; this.sp1 = new Sprite(); this.sp1.loadImage("../../res/apes/monkey2.png", 0, 0); this.sp1.pos((Laya.stage.width - gap) / 2, Laya.stage.height / 2); //设置轴心点为中心 this.sp1.pivot(55, 72); Laya.stage.a...

来源: Laya_示例 发布时间: 20260106

1775. 这是图文混排谷歌浏览器查看正常打包后的APP文字消失表情变大 [ 42%]

...eatsno'], msg['from_client_name'], msg['content']); } private AddChat(seat:number, name:string, txt:string) { let paopao = new ui.langren.room.SayBoardUI(); paopao.x = 10; paopao.lbSayName.text = name; let div:Laya.HTMLDivElement = new Laya.HTMLDivElement(); div.style.lineHeight = 36; div.style.font...

来源: Laya_社区 发布时间: 20170911

1776. laya.d3.core.SkinnedMeshRenderer [ 42%]

...BaseMaterial> 获取浅拷贝材质列表。 BaseRender sortingFudge : Number排序矫正值。BaseRenderPublic Methods Hide Inherited Public Methods Show Inherited Public Methods MethodDefined By  SkinnedMeshRenderer(owner:RenderableSprite3D) 创建一个 SkinnedMeshRender 实例。 SkinnedM...

来源: Laya2.0_api 发布时间: 20190513

1777. 面板容器组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 42%]

...建Image组件,作为Panel的子节点 let img: Laya.Image; for (var i: number = 0; i < 4; i++) { // 创建4个Image,水平排列 img = new Laya.Image("atlas/comp/image.png"); img.x = i * 512; panel.addChild(img); } } } 效果如下动图所示: (动图2-1) Copyright ©Layabox 2025 all ...

来源: Laya3.0_文档 发布时间: 20251010

1778. Cannot read property 'load' of null [ 42%]

...wManager.getInstance().ShowView(contant.loginId); } public SwictMap(index: number):void { var mapName="res/img/map/"+index; this.mapImg.loadImage(mapName); } }       附件 : --> 2017-11-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关...

来源: Laya_社区 发布时间: 20171124

1779. Sprite-轴心点 [ 42%]

...or = "#232628"; this.createApes(); } private createApes(): void { var gap: number = 300; this.sp1 = new Sprite(); this.sp1.loadImage("res/apes/monkey2.png", 0, 0); this.sp1.pos((Laya.stage.width - gap) / 2, Laya.stage.height / 2); //设置轴心点为中心 this.sp1.pivot(55, 72); Laya.stage.addChil...

来源: Laya2.0_示例 发布时间: 20260106

1780. 菜鸟提问:请问使用LayaAir的话,AS3原生类以及一些第三方库完全不能用是吗? [ 42%]

...以用,基础类型Numer,String,Object可以用,Int估计也是用Number凑合着用,JS有的那就可以用,JS没有的就必须用Laya引擎提供的库的API才行是吗?   希望能得到解答,万分感谢!! 2017-05-10 添加评论 免费帖 --> 分享 微博 QZONE 微信 ...

来源: Laya_社区 发布时间: 20170510