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

大约有 235 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0042 秒)

71. 如何动态的设定sprite的覆盖层级 [ 71%]

...是该节点在其父节点中的下标大小,可以调试看下 node._childs, 这是一个节点的所有子节点数组; zorder影响的也是_childs中各节点的下标排序; l00l • 2016-12-28 00:53 zOrder是吧?多谢! laya1473998538 • 2016-12-28 09:20 如果该层级中节点比...

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

72. 我想把flex项目转为laya ts项目,转换过程 mx.containers.Canvas报错 [ 71%]

...ce:int = 1;                          public function add(child:UIComponent):void             {                 this.cab.addChild(child);             }                          public function getDevices():Array             { ...

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

73. 谷歌浏览器运行错误 [ 70%]

...nch": Error: spawn UNKNOWN at exports._errnoException (util.js:1022:11) at ChildProcess.spawn (internal/child_process.js:313:11) at Object.exports.spawn (child_process.js:399:9) at launch.then (d:\Programes\LAYA\resources\app\extensions\laya-debug\out\bundle.js:201:56) 直接不能启动浏览器了...

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

74. Component旋转之后宽和高一直保持初始值不变,无法获得旋转之后的宽高 [ 70%]

...直保持初始值不变,无法获得旋转之后的宽高 Component.addChild(child)添加多个对象,旋转之后宽和高一直保持初始值不变,无法获得旋转之后的宽高 2016-12-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内...

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

75. 请问特效播放的速率可以自定义吗? [ 69%]

...x = -50; par.y = 1280; par.autoPlay = false; MonsterHunt2.battleUILayer.addChild(shade); MonsterHunt2.battleUILayer.addChild(par); } 粒子系统的教程地址你可以参考一下 https://layaair.ldc.layabox.co ... %3DT3 Azure • 2018-04-11 17:09 我用的是3D的lh后缀的特效,教程我看...

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

76. 在 tiledmap 插入一个精灵在上面 [ 69%]

...1);   console.info(mapLayer.layerName);   this.sp.pos(0,0);   mapLayer._childs[0].addChild(this.sp); }   }   new GameInfo();   遇到的问题1 把精灵插入地图时 如果代码这样写就会报错  mapLayer.addChild(this.sp);  必须要这样写才可以 mapLayer._childs[0].addChild(th...

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

77. 分包后, 资源加载问题 [ 68%]

...)"); //此行报错 var load:* = __JS__('new loading100()'); Laya.stage.addChild(load); trace("loading100..."); }   这个loading100.js: (function(window,document,Laya){ console.log("kk1") var __un=Laya.un,__uns=Laya.uns,__static=Laya.static,__class=Laya.class,__getset=Laya.getset,__newvec=Laya.__n...

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

78. Laya2.4版本,场景为内嵌时layaMaxUI类中没有声明场景中的Button等控件? [ 68%]

...iView:any ={"type":"Scene","props":{"width":720,"height":1280},"compId":2,"child":[{"type":"Button","props":{"y":616,"x":296,"skin":"comp/button.png","name":"butStart","label":"label"},"compId":3}],"loadList":["comp/button.png"],"loadList3D":[]}; constructor(){ super()} createChildren():void { super...

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

79. Laya2.4版本,场景为内嵌时layaMaxUI类中没有声明场景中的Button等控件? [ 68%]

...View:any ={"type":"Scene","props":{"width":720,"height":1280},"compId":2,"child":[{"type":"Button","props":{"y":616,"x":296,"skin":"comp/button.png","name":"butStart","label":"label"},"compId":3}],"loadList":["comp/button.png"],"loadList3D":[]};         constructor(){ super()}       ...

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

80. laya.d3.core.scene.bvh.BVHSpatialBox_API3.0 [ 68%]

...tItemByCameraCullInfo getItemByFrustum getItemBySCI getList getNearlist getchild0 getchild1 isContentBox isRoot recaculateBox removeCell splitBox traverseBoundsCell sciContainsBox sciIntersectsBox Constructors constructor new BVHSpatialBox(bvhmanager: BVHSpatialManager, config: BVHSpatialConfig): BV...

来源: Laya3.0_api 发布时间: 20231115