大约有 611 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0105 秒)
...isible = false; } if(role.hp > 0){ // 如果未死亡 ,则播放爆炸动画 role.playAction("hit"); } else{ if(role.isBullet){ // 如果是子弹,则直接隐藏 role.visible = false; } else{ role.playAction("down"); // 击中Boss掉落补给品 if(role.type === "enemy3"){ // 随机是子弹...
来源: Laya_社区 发布时间: 20170525
...a/d3/core/particleShuriKen/ShurikenParticleSystem.ts:844 生命周期纹理动画,注意:如修改该值的某些属性,需重新赋值此属性才可生效。 Returns TextureSheetAnimation Defined in laya/d3/core/particleShuriKen/ShurikenParticleSystem.ts:848 生命周期纹理动画,注意:如修...
来源: Laya3.0_api 发布时间: 20231115
...与角色手之间就可以使用固定约束,无论角色如何移动或动画如何播放,武器都会保持在固定的相对位置和方向上; 点击《固定约束》查看使用说明 1.5 铰链约束 链约束允许两个物体之间围绕某一特定轴线旋转,但限制其他方...
来源: Laya3.0_文档 发布时间: 20251010
...a/d3/core/particleShuriKen/ShurikenParticleSystem.ts:844 生命周期纹理动画,注意:如修改该值的某些属性,需重新赋值此属性才可生效。 Returns TextureSheetAnimation Inherited from ShurikenParticleSystem.textureSheetAnimation Defined in laya/d3/core/particleShuriKen/ShurikenP...
来源: Laya3.0_api 发布时间: 20231115
... Globals "laya/spine/SpineSkeleton" SpineSkeleton Class SpineSkeleton spine动画由SpineTemplet,SpineSkeletonRender,SpineSkeleton三部分组成。 Hierarchy Sprite SpineSkeleton Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseTh...
来源: Laya3.0_api 发布时间: 20231115
...vieClip Class MovieClip MovieClip 用于播放经过工具处理后的 swf 动画。 Hierarchy Sprite MovieClip Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize basePath hitTestPrior interval loop mouseThrough name tag drawtocanvCtx Accessors _isHeightS...
来源: Laya3.0_api 发布时间: 20231115
...Clip.autoPlay Defined in laya/ui/Clip.ts:416 表示是否自动播放切片动画,若自动播放值为true,否则值为false; 可控制切片动画的播放、停止。 Returns boolean Inherited from Clip.autoPlay Defined in laya/ui/Clip.ts:420 表示是否自动播放切片动画,若自动播...
来源: Laya3.0_api 发布时间: 20231115
...ported Menu Globals "laya/ani/bone/Skeleton" Skeleton Class Skeleton 骨骼动画由Templet,AnimationPlayer,Skeleton三部分组成。 Hierarchy Sprite Skeleton Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag draw...
来源: Laya3.0_api 发布时间: 20231115
...e == Item.ITEM_TYPE_FLY){ item.visible = false; }else{ //星星物品播放动画 Tween.to(item, {y : -10, scaleX : 0.1, alpha : 0}, 300, null, Handler.create(this, this.itemTweenComplete, [item])); this.updateScore(); } } } } //人物如果踩到地板了 就把人物的坐标设置到地板上面 ...
来源: Laya_社区 发布时间: 20160803
...戏行为发生改变,又或者用于触发特定效果,比如声音和动画。 是否设置为传感器的不同效果区别,如动图12-5所示: (动图12-5) 3.2.6 标签 label 碰撞体的标签,用于脚本物理碰撞事件中的碰撞体识别,当自定义了标签名后,如...
来源: Laya3.0_文档 发布时间: 20251010