大约有 131 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0056 秒)
Laya_社区(59) Laya3.0_api(17) laya_api(15) Laya2.0_api(15) Laya2.0_文档(7) Laya2.0_示例(7) Laya_示例(7) Laya3.0_文档(4)
...ageHeight / 2 + 100); this.skeleton.scale(0.4, 0.4); this.skeleton.on(Laya.Event.STOPPED, this, this.play); this.play(); }); } private play(): void { if (++this.index >= this.skeleton.getAnimNum()) { this.index = 0 } this.skeleton.play(this.index, false, true) } } 附件 : --> SpineTestProject.zi...
来源: Laya_社区 发布时间: 20230703
...| 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
... onAwake() { this.createJoystick(); this.bindEvents(); // 监听全局事件 Laya.stage.on("DIALOG_SHOW", this, this.disable); Laya.stage.on("DIALOG_HIDE", this, this.enable); } onDestroy() { // ...
来源: Laya_社区 发布时间: 20251125
...代码:** ```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
...倒没试过,我是用LOADER加载的,加载完后执行this.addChild(event.target.loader); jiahuafu • 2016-07-19 10:37 谢谢!另外一个游戏我去试下 jiahuafu • 2016-07-22 10:03 preSwfAssets这方法管用,哈哈,请问这个原理是什么? cuixueying • 2016-07-22 12:22 ...
来源: Laya_社区 发布时间: 20160718
... 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...
来源: laya_api 发布时间: 20170929
...,调用completeHandler继续播放下一个动画 this.mArmature.on(Laya.Event.STOPPED, this, this.completeHandler); this.play(); }); } private completeHandler(): void { this.play(); } //播放骨骼动画 private play(): void { //每次到下一个动画 this.mCurrIndex++; if (this.mCurrIndex >...
来源: Laya3.0_文档 发布时间: 20251010
... 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
...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 FrameClipProperties | Methods | Events Packagelaya.uiClasspublic class FrameClipInheritanceFrameClip FrameAnimation AnimationPlayerBase Sprite Node EventDispatcher Object 关键帧动画播放类 Public Properties Hide Inherited Public Properties Show Inhe...
来源: laya_api 发布时间: 20170422