大约有 861 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0042 秒)
Laya2.0_文档(437) Laya_社区(293) Laya3.0_api(86) laya_api(20) Laya2.0_api(11) Laya3.0_文档(10) Laya_示例(2) Laya2.0_示例(2)
...试个十几分钟就会出现, 动效停在过程中,不播放了,update也不调用了,回调完成函数也没有调用,就停在半路了测试的话,多创建几个动效,最好几十个,或者做个循环递归,不停的去调用,应该可以测试出来的,,这个问...
来源: Laya_社区 发布时间: 20180322
...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
....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
...行 此方法为虚方法,使用时重写覆盖即可 Script3D onLateUpdate():void 每帧更新时执行,在update之后执行 此方法为虚方法,使用时重写覆盖即可 Script3D onMouseClick():void 鼠标点击时执行 此方法为虚方法,使用时重写覆盖即可 Script3D...
来源: Laya2.0_api 发布时间: 20190513
...的某一个,他就显示出来,否则默认隐藏,我想到的是,update 里面放事件,Laya.Event.Click ,但是不知道怎么表达,this. ? .on( Laya.Event.Click, this, function(){...}) 问号那我应该填什么。。。 2018-12-14 添加评论 免费帖 --> 分享 微博 QZO...
来源: Laya_社区 发布时间: 20181214
... 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
...(this, this.onSkeLoaded), 2); Laya.timer.frameLoop(1, this, this.update); ....................................................................................................................................................................................... private update() { ...
来源: Laya_社区 发布时间: 20200618
...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
...执行 此方法为虚方法,使用时重写覆盖即可 Script onLateUpdate():void 每帧更新时执行,在update之后执行,尽量不要在这里写大循环逻辑或者使用getComponent方法 此方法为虚方法,使用时重写覆盖即可 Script onMouseDown(e:Event):void 鼠...
来源: Laya2.0_api 发布时间: 20190513
...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