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

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

591. laya.display.EffectAnimation_API3.0 [ 43%]

...加多个动效。 当一个动效开始播放时,其他动效会自动停止播放。 可以通过LayaAir IDE创建。 Hierarchy FrameAnimation EffectAnimation Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior loop mouseThrough name tag w...

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

592. laya.display.FrameAnimation_API3.0 [ 41%]

...rited from AnimationBase.stop Defined in laya/display/AnimationBase.ts:185 停止动画播放。 Returns void stopDrag stopDrag(): void Inherited from Text.stopDrag Defined in laya/display/Sprite.ts:1732 停止拖动此对象。 Returns void timerLoop timerLoop(delay: number, caller: any, method: Fu...

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

593. 为什么会出现报错 ani not found:ufo1_down [ 40%]

...掉血 lostHp(role1,1); lostHp(role2,1); } } } } // 如果主角死亡,停止游戏循环 if(this.hero.hp < 1){ Laya.timer.clear(this,onLoop); } // 每隔30帧创建新的敌机 if(Laya.timer.currFrame%60 === 0){ createEnemy(2); } } function lostHp(role,lostHp){ // 减血 role.hp -= lostHp; if(...

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

594. 组件脚本的内置方法 · LayaAir3.3 · 引擎文档 · LAYABOX [ 38%]

...e if (other.label === "ground") { //只要有一个盒子碰到地板,则停止游戏 owner.removeSelf(); PhysicsGameMainRT.instance.stopGame(); } } /**使用对象池创建爆炸动画 */ createEffect(): Laya.Sprite { //获取动画预制体的节点对象 const aniNode: Laya.Sprite = this.burstA...

来源: Laya3.0_文档 发布时间: 20251010

595. 为什么会出现报错 ani not found:ufo1_down [ 38%]

...掉血 lostHp(role1,1); lostHp(role2,1); } } } } // 如果主角死亡,停止游戏循环 if(this.hero.hp < 1){ Laya.timer.clear(this,onLoop); } // 每隔30帧创建新的敌机 if(Laya.timer.currFrame%60 === 0){ createEnemy(2); } } function lostHp(role,lostHp){ // 减血 role.hp -= lostHp; if(...

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

596. laya.d3.core.particleshuriken.ShurikenParticleSystem_API3.0 [ 37%]

...id Defined in laya/d3/core/particleShuriKen/ShurikenParticleSystem.ts:2122 停止发射粒子。 Returns void Globals "laya/d3/core/particleShuriKen/ShurikenParticleSystem" ShurikenParticleSystem constructor _geometryElementOBj autoRandomSeed dragConstant dragSpeedConstantMax dragSpeedConstantMin dr...

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

597. 3D物理 · LayaAir3.3 · 引擎文档 · LAYABOX [ 36%]

...态物体可以根据物理规则做出相应反应,如反弹、滑动或停止。这使得游戏中的物体能够以逼真的方式与环境交互,而不会导致环境本身发生移动。 从性能角度看,静态碰撞器比动态的刚体更为高效。由于它们不需要计算位置...

来源: Laya3.0_文档 发布时间: 20251010

598. laya.d3.core.particleshuriken.ShurikenParticleInstanceSystem_API3.0 [ 35%]

...op Defined in laya/d3/core/particleShuriKen/ShurikenParticleSystem.ts:2122 停止发射粒子。 Returns void Globals "laya/d3/core/particleShuriKen/ShurikenParticleInstanceSystem" ShurikenParticleInstanceSystem constructor _geometryElementOBj autoRandomSeed dragConstant dragSpeedConstantMax dragSpe...

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

599. laya.spine.SpineSkeleton_API3.0 [ 31%]

... Returns void stop stop(): void Defined in laya/spine/SpineSkeleton.ts:393 停止动画 Returns void stopDrag stopDrag(): void Inherited from Text.stopDrag Defined in laya/display/Sprite.ts:1732 停止拖动此对象。 Returns void timerLoop timerLoop(delay: number, caller: any, method: Function, a...

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

600. laya.ani.swf.MovieClip_API3.0 [ 31%]

...dex: number): void Defined in laya/ani/swf/MovieClip.ts:240 跳到某帧并停止播放动画。 Parameters index: number Returns void hasHideFlag hasHideFlag(flag: number): boolean Inherited from Node.hasHideFlag Defined in laya/display/Node.ts:173 Parameters flag: number Returns boolean hasListene...

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