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

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

31. 播放粒子没反应 [ 76%]

播放粒子没反应 使用unity导出粒子this.parAni = this.path2.getChildByName("anjian").getChildByName("huang").particleSystem;然后使用this.parAni.play();播放没有效果 2019-01-03 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相...

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

32. JS中List容器里renderHandler和itemHandler渲染器如何使用 [ 75%]

...         var info = cell.dataSource;         var img_icon  = cell.getChildByName("img_icon");//图标         var lab_name  = cell.getChildByName("lab_name");//名称    }   itemHandler一般不用。 2017-08-08 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠...

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

33. List翻页效果 [ 75%]

...blic updateItem(cell: Laya.Box, index: number): void { let img_rule = cell.getChildByName("img_rule") as Laya.Image; img_rule.skin = cell.dataSource let text_info = cell.getChildByName("text_des") as Laya.Text; let i18n = Laya.loader.getRes("config/i18n.json"); text_info.text = i18n[`tips_text$text_...

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

34. List翻页效果怎么实现 [ 75%]

...blic updateItem(cell: Laya.Box, index: number): void { let img_rule = cell.getChildByName("img_rule") as Laya.Image; img_rule.skin = cell.dataSource let text_info = cell.getChildByName("text_des") as Laya.Text; let i18n = Laya.loader.getRes("config/i18n.json"); text_info.text = i18n[`tips_text$text_...

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

35. laya 的list组件,如果有多页信息,怎么实现翻页丫?? [ 75%]

...blic updateItem(cell: Laya.Box, index: number): void { let img_rule = cell.getChildByName("img_rule") as Laya.Image; img_rule.skin = cell.dataSource let text_info = cell.getChildByName("text_des") as Laya.Text; let i18n = Laya.loader.getRes("config/i18n.json"); text_info.text = i18n[`tips_text$text_...

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

36. List 组件做的手风琴Demo [ 74%]

...--- updateItem(cell:Item,index:number){           var img1 = cell.getChildByName("img1") as Laya.Image;         var img2 = cell.getChildByName("img2") as Laya.Image;         img1.on("click",this,this.onRefresh,[index])         //当索引相同时 BOX 高度改变  ...

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

37. 动画挂点(TypeScript-3D基础(TS)-LayaAir3D之Animator动画) [ 74%]

...Texture = tex; })); box.meshRenderer.material = material; var monkey = res.getChildByName("LayaMonkey"); //查找节点 var bonePoint:Sprite3D = this.findChild(monkey,"bonepoint"); //将盒子精灵添加到找到的骨骼节点上 bonePoint&&bonePoint.addChild(box); })); ``` > 节点查找 ```types...

来源: Laya2.0_文档 发布时间: 20210715

38. 动画挂点(JavaScript-3D基础(JS)-LayaAir3D之Animator动画) [ 74%]

...Texture = tex; })); box.meshRenderer.material = material; var monkey = res.getChildByName("LayaMonkey"); //查找节点 var bonePoint:Sprite3D = this.findChild(monkey,"bonepoint"); //将盒子精灵添加到找到的骨骼节点上 bonePoint&&bonePoint.addChild(box); })); ``` > 节点查找 ```types...

来源: Laya2.0_文档 发布时间: 20210714

39. 请问laya有没有类似翻页容器(pageView)的组件? [ 74%]

...blic updateItem(cell: Laya.Box, index: number): void { let img_rule = cell.getChildByName("img_rule") as Laya.Image; img_rule.skin = cell.dataSource let text_info = cell.getChildByName("text_des") as Laya.Text; let i18n = Laya.loader.getRes("config/i18n.json"); text_info.text = i18n[`tips_text$text_...

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

40. 分享:List相关(Item增删功能) [ 73%]

...a:Object=arr[index];//获取当前渲染条目的数据 var clip:Clip=cell.getChildByName("clip") as Clip;//获取当前渲染条目的clip组件 var check:CheckBox=cell.getChildByName("check") as CheckBox;//获取当前渲染条目的check组件 clip.index=data.clip;//为clip组件渲染数据 //...

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