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

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

1. ani动画问题,cannot read property '_tf' of null [ 100%]

...f' of null showAni(panel:Laya.Box) {             if (!panel.contains(this)) {                 panel.addChild(this);                 this.pos(0,110);             }             let i = 1;             this.ani1.play(0, false);//出错了             this.an...

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

2. 加载的时候动画会卡 [ 98%]

...时候动画会卡 上代码: _pro.startLoad = function() {         this.loadLayer = new Lload();         this.big.addChild(this.loadLayer);         var imgArr = ;         imgArr.push({url:"cont/cpf1.jpg",type:Loader.IMAGE});         imgArr.push({url:"cont/cpr1.jpg",type:Loade...

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

3. timeLine的问题,怎么在多个addLabel之间改变图片skin? [ 93%]

timeLine的问题,怎么在多个addLabel之间改变图片skin? this.timeLine.addLabel("move",0).to(img,ani,500,null,0) .addLabel("ani1",500).to(img,ani1,220,null,0) .addLabel("ani2",220).to(img,ani2,220,null,0) 如上我创建了三个addLabel,但是我想在第一个addLabel完成了,就...

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

4. 特效LOADED监听不到 [ 92%]

...ya.stage.bgColor = "#232628"; Laya.loader.load(AniConfPath, Handler.create(this, createAnimation), null, Loader.ATLAS); } private function createAnimation(_e:*=null):void { var ani:Animation = new Animation(); ani.loadAtlas(AniConfPath); // 加载图集动画 ani.interval = 30; // 设置播放间隔...

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

5. Animation播放完一次动画后的回调问题 [ 85%]

... 2018-04-04 0 0 分享 微博 QZONE 微信 Apple 赞同来自: null改成this 2018-04-04 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 panle130 相关问题 Animator 如何获取当前所有动画名称呢?或者所有的AnimationClip...

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

6. 动效问题,没有 ui.TestPUI,官方文档是错的,几年了至今无解答 [ 78%]

...res/atlas/comp.atlas' Laya.loader.load(aniEffConfPath, Laya.Handler.create(this, this.onLoaded)) onLoaded(){ // Laya.ClassUtils.regClass('ui.TestPUI', ui.TestPUI) var efc = new ui.TestPUI(); Laya.stage.addChild(efc); } 按照官方文档,运行后报错 Main.js:61 Uncaught ReferenceError: ui is no...

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