大约有 96 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0030 秒)
... nero030250 • 2017-08-31 10:36 还是只有问答的啊... 那么如果每帧循环的话我应该用哪个方法来保证跟随的代码在一帧最后或者上一帧运行?我现在用的是frameLoop, 会出问题 138*****175 • 2017-08-31 11:25 https://ask.layabox.com/question/6541
来源: Laya_社区 发布时间: 20170831
...r _proto = BackGround.prototype; _proto.onLoop = function(){ //背景容器每帧向下移动一像素 this.y +=1; //如果背景图到了下面不可见的位置,立即调整位置到最上边 if(this.bg1.y+this.y>=852){ this.bg1.y-=852*2; } if(this.bg2.y+this.y>=852){ this.bg2.y-=852*2; } ...
来源: Laya_社区 发布时间: 20191018
...ed from Component.onLateUpdate Defined in laya/components/Component.ts:297 每帧更新时执行,在update之后执行,尽量不要在这里写大循环逻辑或者使用getComponent方法 Returns void Optional onPostRender onPostRender(): void Inherited from Component.onPostRender Defined in la...
来源: Laya3.0_api 发布时间: 20231115
...ed from Component.onLateUpdate Defined in laya/components/Component.ts:297 每帧更新时执行,在update之后执行,尽量不要在这里写大循环逻辑或者使用getComponent方法 Returns void Optional onPostRender onPostRender(): void Inherited from Component.onPostRender Defined in la...
来源: Laya3.0_api 发布时间: 20231115
...ed from Component.onLateUpdate Defined in laya/components/Component.ts:297 每帧更新时执行,在update之后执行,尽量不要在这里写大循环逻辑或者使用getComponent方法 Returns void Optional onPostRender onPostRender(): void Inherited from Component.onPostRender Defined in la...
来源: Laya3.0_api 发布时间: 20231115
...移动 2018-08-31 0 0 分享 微博 QZONE 微信 赞同来自: 改变每帧的X的值 2018-08-31 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无法添加新回复 发起人 MITBOY 相关问题 2.0一不小心删了bin目录下的某个...
来源: Laya_社区 发布时间: 20180831
...ed from Component.onLateUpdate Defined in laya/components/Component.ts:297 每帧更新时执行,在update之后执行,尽量不要在这里写大循环逻辑或者使用getComponent方法 Returns void Optional onPostRender onPostRender(): void Inherited from Component.onPostRender Defined in la...
来源: Laya3.0_api 发布时间: 20231115
...Canvas); canvas.bitmap.alwaysChange = true;//小游戏使用,非常费,每帧刷新 sp.graphics.drawTexture(canvas); layout.addChild(sp); } /** * 清除开放域数据 */ function clearDrawOpenData(layout: Laya.Sprite) { if (layout) { layout.destroyChildren(); } } 你这报的错很可能...
来源: Laya_社区 发布时间: 20190328
...ed from Component.onLateUpdate Defined in laya/components/Component.ts:297 每帧更新时执行,在update之后执行,尽量不要在这里写大循环逻辑或者使用getComponent方法 Returns void Optional onPostRender onPostRender(): void Inherited from Component.onPostRender Defined in la...
来源: Laya3.0_api 发布时间: 20231115
... textture.bitmap.alwaysChange = true;//小游戏使用,非常费,每帧刷新 Laya.stage.graphics.drawTexture(textture); debugDraw.SetSprite(ctx); debugDraw.SetDrawScale(30.0); debugDraw.SetFillAlpha(0.3); debugDraw.SetLineThickness(1.0); debu...
来源: Laya_社区 发布时间: 20180905