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

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

361. 父节点如何得到其子节点的个数 [ 80%]

...4367261 赞同来自: 使用父节点的numChildre方法 ,该方法返回int类型的所以子物体个数var i :int ; i = this.var.numChildren;//获取子物体个数 //获取单个子物体 this.var.getchildAt("想要拿到的子物体下标int类型")//根据下标获取对应子物体 2018-04-...

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

362. laya.particle.Particle2D [ 80%]

...轴坐标信息。 Sprite name : String节点名称。Node numChildren : int[read-only] 子对象数量。 Node parent : Node[read-only] 父节点。Node pivotX : NumberX轴 轴心点的位置,单位为像素,默认为0。轴心点会影响对象位置,缩放中心,旋转中心。Sprite...

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

363. laya.ui.ScaleBox [ 80%]

...轴坐标信息。 Sprite name : String节点名称。Node numChildren : int[read-only] 子对象数量。 Node parent : Node[read-only] 父节点。Node pivotX : NumberX轴 轴心点的位置,单位为像素,默认为0。轴心点会影响对象位置,缩放中心,旋转中心。Sprite...

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

364. laya.html.dom.HTMLDivElement [ 79%]

...轴坐标信息。 Sprite name : String节点名称。Node numChildren : int[read-only] 子对象数量。 Node parent : Node[read-only] 父节点。Node pivotX : NumberX轴 轴心点的位置,单位为像素,默认为0。轴心点会影响对象位置,缩放中心,旋转中心。Sprite...

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

365. 问一下这个问题要怎么改啊? [ 79%]

...dPic { private var picUrl:String; private var pic:Sprite; private var picX:int; private var picY:int; public function addPic(str:String, x:int, y:int) { picUrl = str; picX = x; picY = y; Laya.loader.load(picUrl, Handler.create(this, showBgImg)); } private function showBgImg():void { pic = new Image(...

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

366. 新手!谁懂得把下面两个文件转成layaair可以运行的代码 [ 79%]

...rite;     import flash.events.Event;     import flash.external.ExternalInterface;     import flash.net.URLVariables;     import flash.text.TextField;     import flash.text.TextFieldAutoSize;     import flash.text.TextFormat;       import org.as3lib.logging.ILogger;     import org.as...

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

367. 2.0字体比较小的时候,某些字显示不全 [ 79%]

....as   class TextRender getFontSizeInfo 函数,最后部分    var xoff:int = Math.max( orix - pixelBBX[0], 0);    var yoff:int = Math.max( oriy - pixelBBX[1], 0);    var bbxw:int = pixelBBX[2] - pixelBBX[0];    var bbxh:int = pixelBBX[3] - pixelBBX[1]+1; 原来没有+1,如果不够可以...

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

368. laya.ui.Box [ 79%]

...轴坐标信息。 Sprite name : String节点名称。Node numChildren : int[read-only] 子对象数量。 Node parent : Node[read-only] 父节点。Node pivotX : NumberX轴 轴心点的位置,单位为像素,默认为0。轴心点会影响对象位置,缩放中心,旋转中心。Sprite...

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

369. LayaNative 0.9.6启动时报错 [ 79%]

...t.WebView.<init>(android.content.Context, android.util.AttributeSet, int, int, java.util.Map, boolean) (WebView.java:636) 2019-07-22 18:03:33.840 27966-27966/com.lovegame.hk.hokbok I/art:     at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int...

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

370. UI-List [ 79%]

...// 设置数据项为对应图片的路径 var data:Array = []; for (var i:int = 0; i < 10; ++i) { data.push("../../res/ui/listskins/1.jpg"); data.push("../../res/ui/listskins/2.jpg"); data.push("../../res/ui/listskins/3.jpg"); data.push("../../res/ui/listskins/4.jpg"); data.push("../../res/ui/lists...

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