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

大约有 2,538 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0092 秒)

671. Laya.loader.load(xx) 当地址""的时候,会报错。 [ 74%]

...              }                     this.event(Event.PROGRESS, 0.3 + 1 / toloadPics.length * 0.6);                     return this._loadResourceFilter(Loader.IMAGE, URL.formatURL(toloadPics.pop()));                 }   ...

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

672. unity导出来的粒子特效 播放效果不对 [ 74%]

...Sprite3D = scene.addChild(Sprite3D.load("part.lh")) as Sprite3D; part.once(Event.HIERARCHY_LOADED, this, function():void{        part.transform.localScale = new Vector3(3, 3, 3);  });   我按照这个调整粒子大小,不起作用啊 2018-07-09 0 6 分享 微博 QZONE 微信 Laya_Aaron 赞...

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

673. 多个button如何区分 [ 74%]

... 通过 for 循环 加入多个button 添加事件 this.emojiBut1.on(Laya.Event.CLICK,this,this.onEmojiBut1Click); 多个button 如何区分 点击的哪一个button  可以设置tag吗 或者通过监听事件透传?   附件 : --> 2017-04-25 添加评论 免费帖 --> 分享 微博 QZONE 微...

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

674. LayaAir和原生DOM交互(ActionScript-2D进阶篇(AS3)-扩展模块) [ 74%]

...nifests/vM7nH0Kl.m3u8');//加载m3u8源 hls.attachMedia(video); hls.on(Hls.Events.MANIFEST_PARSED,function():void{ video.play(); }); } plyr.setup(video); } } } ``` 编译运行代码,发现网页已经可以播放视频了。开发者可能注意到这里我们初始化引擎的时候是这样的...

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

675. 关于微信小游戏下的MOUSE_UP事件touches问题 [ 74%]

...小游戏后,在微信开发者工具中,当MOUSE_UP事件触发时,Event.touches个数正确,为0   当使用手机预览时,MOUSE_UP事件触发时,Event.touches个数多了1(即抬起的手指还被包含在内了) 这个问题有哪位大大遇到过么?微信小游戏环境...

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

676. 龙骨skeleton鼠标点击区域的设置 [ 74%]

...gle=new Rectangle(-420,-680,420,680); mArmature.hitArea=rect; mArmature.on(Event.CLICK,this,onClick);    2016-11-22 0 0 分享 微博 QZONE 微信 asdf131 赞同来自: 于一个点为中心播放 :      this.mArmature = this.mFactory.buildArmature(0);         this.mArmatureSpr.addChild(t...

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

677. laya.ui.ComboBox [ 74%]

...ll Classes | Index | Frames No Frames ComboBoxProperties | Methods | Events Packagelaya.uiClasspublic class ComboBoxInheritanceComboBox Component Sprite Node EventDispatcher Object ComboBox 组件包含一个下拉列表,用户可以从该列表中选择单个值。 Public Properties Hide I...

来源: laya_api 发布时间: 20170929

678. 关于as版的Animation.createFrames()不能工作? [ 74%]

...play.Stage; import laya.utils.Handler; import laya.net.Loader; import laya.events.Event; public class LayaUISample { protected var text:Text; protected var aaa:AAA; public function LayaUISample() { Laya.init(1540, 990); Laya.Stat.show(); Laya.loader.load("res/atlas/war.json", Laya.Handler.create(thi...

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

679. laya.d3.core.MeshSprite3D_API3.0 [ 74%]

...ve addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer clone contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getComponents hasHideFlag hasListener isAncestorOf off offAll offAllCaller on on...

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

680. laya.d3.core.particleshuriken.ShuriKenParticle3D_API3.0 [ 74%]

...ve addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer clone contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getComponents hasHideFlag hasListener isAncestorOf off offAll offAllCaller on on...

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