大约有 105 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0066 秒)
Laya_社区(42) laya_api(14) Laya3.0_api(14) Laya2.0_api(13) Laya2.0_文档(7) Laya2.0_示例(6) Laya_示例(6) Laya3.0_文档(3)
...切入切出,导致背景声音不播放问题。 Laya.stage.on(Laya.Event.BLUR, this, this.onBlur); Laya.stage.on(Laya.Event.FOCUS, this, this.onFocus); private onBlur() { // 暂停所有需要停止的逻辑 console.log("onBlur"); SoundManager.Instance.pau...
来源: Laya_社区 发布时间: 20250930
... Classes | Index | Frames No Frames Particle2DProperties | Methods | Events Packagelaya.particleClasspublic class Particle2DInheritanceParticle2D Sprite Node EventDispatcher Object Particle2D 类是2D粒子播放类 Public Properties Hide Inherited Public Properties Show Inherited Public Prop...
来源: Laya2.0_api 发布时间: 20190513
...代码:** ```javascript package { import laya.display.Stage; import laya.events.Event; import laya.ui.Button; import laya.ui.Clip; import laya.ui.Image; import laya.utils.Handler; import laya.webgl.WebGL; public class UI_Clip { /***控制器按钮资源***/ private var buttonSkin:String = "../../....
来源: Laya2.0_文档 发布时间: 20210714
...on addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce fromParentPoint getAniNameByIndex getAnimNum getBoneByName getBounds getChildAt get...
来源: Laya3.0_api 发布时间: 20231115
...l Classes | Index | Frames No Frames AnimationProperties | Methods | Events | Constants Packagelaya.displayClasspublic class AnimationInheritanceAnimation AnimationPlayerBase Sprite Node EventDispatcher Object Animation 是Graphics动画类。实现了基于Graphics的动画创建、播放...
来源: laya_api 发布时间: 20170929
...l Classes | Index | Frames No Frames AnimationProperties | Methods | Events | Constants Packagelaya.displayClasspublic class AnimationInheritanceAnimation AnimationBase Sprite Node EventDispatcher Object Animation 是Graphics动画类。实现了基于Graphics的动画创建、播放、控...
来源: Laya2.0_api 发布时间: 20190513
...| All Classes | Index | Frames No Frames ClipProperties | Methods | Events Packagelaya.uiClasspublic class ClipInheritanceClip UIComponent Sprite Node EventDispatcher ObjectSubclasses FontClip Clip 类是位图切片动画。 Clip 可将一张图片,按横向分割数量 clipX 、竖向分...
来源: Laya2.0_api 发布时间: 20190513
... 记录当前皮肤状态 //播放停止后执行逻辑 this.owner.on(Laya.Event.STOPPED, this, () => { // 通过三元运算符切换皮肤名称 currentSkin = currentSkin === "full-skins/girl" ? "full-skins/girl-blue-cape" : "full-skins/girl"; this.spine.skinName = currentSkin; this.spine.play(...
来源: Laya3.0_文档 发布时间: 20251128
...sses | Index | Frames No Frames FrameAnimationProperties | Methods | Events | Constants Packagelaya.displayClasspublic class FrameAnimationInheritanceFrameAnimation AnimationPlayerBase Sprite Node EventDispatcher ObjectSubclasses EffectAnimation 关键帧动画播放类。 Public Properties ...
来源: laya_api 发布时间: 20170929
... Lload.__super.call(this); this.dh(); this.btn.on(Event.MOUSE_DOWN,game,this.toquanjing); Laya.propertyIsEnumerable = true; } Laya.class(Lload,"Lload",ui.loadUI); Lload.prototype.dh = function(){ this.ani1.play(0,true); Tw...
来源: Laya_社区 发布时间: 20160815