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

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

111. Laya.tween设置了完成回调函数,但是偶尔会出现不回调的问题 [ 71%]

...试个十几分钟就会出现, 动效停在过程中,不播放了,update也不调用了,回调完成函数也没有调用,就停在半路了测试的话,多创建几个动效,最好几十个,或者做个循环递归,不停的去调用,应该可以测试出来的,,这个问...

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

112. 其他引擎的Demo-Example_23 [ 70%]

...ate() { if (tick > frequency) { tick = 0; // iterate through the dudes and update the positions var laser = new Sprite(); laser.loadImage("../../res/pixi/laser0" + ((type % 5) + 1) + ".png"); type++; laser.life = 0; var pos1; var pos2; if (type % 2) { pos1 = new Point(-20, Math.random() * viewHeight...

来源: Laya_示例 发布时间: 20241001

113. Laya 绑定显示内容到骨骼动画 [ 70%]

....push(source); } this.addChild(source); this.timer.frameLoop(1,this,this.__updateBinds); }  unbind(source:BindSource):void{ let index:number=this.__bindList.indexOf(source); if(index<0){ throw new Error("找不到要删除的绑定内容"); } this.removeChild(source); this.__bindList.splice(i...

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

114. laya.d3.component.Script3D [ 70%]

...行 此方法为虚方法,使用时重写覆盖即可 Script3D  onLateUpdate():void 每帧更新时执行,在update之后执行 此方法为虚方法,使用时重写覆盖即可 Script3D  onMouseClick():void 鼠标点击时执行 此方法为虚方法,使用时重写覆盖即可 Script3D...

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

115. Laya 问题合集 希望会的大神能帮我解答一下,谢谢 [ 70%]

...的某一个,他就显示出来,否则默认隐藏,我想到的是,update 里面放事件,Laya.Event.Click  ,但是不知道怎么表达,this. ? .on( Laya.Event.Click, this, function(){...})  问号那我应该填什么。。。 2018-12-14 添加评论 免费帖 --> 分享 微博 QZO...

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

116. 其他引擎的Demo-Example_23 [ 70%]

... laser; if (tick > frequency) { tick = 0; // iterate through the dudes and update the positions laser = new Sprite(); laser.loadImage("res/pixi/laser0" + ((type % 5) + 1) + ".png"); type++; laser.life = 0; let pos1; let pos2; if (type % 2) { pos1 = new Point(-20, Math.random() * viewHeight); pos2 = ...

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

117. 同步龙骨插槽动画方案 [ 70%]

...(this, this.onSkeLoaded), 2);     Laya.timer.frameLoop(1, this, this.update); .......................................................................................................................................................................................     private update() {  ...

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

118. TimeLine调用destroy报错&执行完成后回到起点 [ 70%]

...ught TypeError: Cannot read property 'length' of null at TimeLine.__proto._update (HMain.max.js:12479) at TimerHandler.__proto.run (HMain.max.js:9196) at Timer.__proto._update (HMain.max.js:8951) at Stage.__proto.render (HMain.max.js:16932) at Stage.__proto._loop (HMain.max.js:16892) at loop (HMain....

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

119. laya.components.Script [ 69%]

...执行 此方法为虚方法,使用时重写覆盖即可 Script  onLateUpdate():void 每帧更新时执行,在update之后执行,尽量不要在这里写大循环逻辑或者使用getComponent方法 此方法为虚方法,使用时重写覆盖即可 Script  onMouseDown(e:Event):void 鼠...

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

120. laya.physics.js:430 Cannot read property 'GetType' of null [ 69%]

...b2ContactManager.AddPair (laya.physics.js:586)     at box2d.b2BroadPhase.UpdatePairs (laya.physics.js:308)     at box2d.b2ContactManager.FindNewContacts (laya.physics.js:584)     at box2d.b2World.Solve (laya.physics.js:799)     at box2d.b2World.Step (laya.physics.js:811)     at Physics.__p...

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