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

大约有 127 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0047 秒)

81. 关于UI与3D场景的问题 [ 57%]

...相关的链接 提交 3 个回复 Laya_Aaron 赞同来自: button.on(Laya.Event.CLICK, this, function(event:Laya.Event){ console.log("点击到了UI"); event.stopPropagation(); }); 完整代码 2018-05-30 0 17 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: 你这个问题描述的很明确,...

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

82. 音乐与音效的播放与控制(ActionScript-LayaAir基础篇(AS3)-硬件设备相关) [ 57%]

...lay(0); //失去舞台焦点(切出游戏)的处理 Laya.stage.on(Laya.Event.BLUR, this, () => { _sound.stop(); }); //获得舞台焦点(切回游戏)的处理 Laya.stage.on(Laya.Event.FOCUS, this, () => { _sound.play(0); }); …… ``` ### 六、音乐与音效播放的完整示例 该示...

来源: Laya2.0_文档 发布时间: 20210714

83. laya.display.AnimationPlayerBase [ 56%]

...| Index | Frames No Frames AnimationPlayerBaseProperties | Methods | Events | Constants Packagelaya.displayClasspublic class AnimationPlayerBaseInheritanceAnimationPlayerBase Sprite Node EventDispatcher ObjectSubclasses Animation, FrameAnimation 动画播放基类,提供了基础的动画...

来源: laya_api 发布时间: 20170929

84. 2.4.0bate在放大缩小时文本会不同程度的模糊 [ 56%]

...方体模型,想给它六个面贴不同的贴图,该如何处理? Event.MOUSE_WHEEL 如何获取鼠标滚轮是放大开始缩小 用EffectAnimation实现Button的点击放大效果点击的时候按钮位移动了是否是我做法有问题 游戏中图片模糊 @官方 运用Sprite的属性...

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

85. laya.display.AnimationBase [ 56%]

...asses | Index | Frames No Frames AnimationBaseProperties | Methods | Events | Constants Packagelaya.displayClasspublic class AnimationBaseInheritanceAnimationBase Sprite Node EventDispatcher ObjectSubclasses Animation, FrameAnimation 动画基类,提供了基础的动画播放控制方法...

来源: Laya2.0_api 发布时间: 20190513

86. laya.media.SoundNode [ 56%]

...l Classes | Index | Frames No Frames SoundNodeProperties | Methods | Events Packagelaya.mediaClasspublic class SoundNodeInheritanceSoundNode Sprite Node EventDispatcher ObjectPublic Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alpha : Numbe...

来源: laya_api 发布时间: 20170422

87. 音乐与音效的播放与控制(TypeScript-LayaAir基础篇(TS)-硬件设备相关) [ 56%]

...lay(0); //失去舞台焦点(切出游戏)的处理 Laya.stage.on(Laya.Event.BLUR, this, () => { _sound.stop(); }); //获得舞台焦点(切回游戏)的处理 Laya.stage.on(Laya.Event.FOCUS, this, () => { _sound.play(0); }); …… ``` ### 六、音乐与音效播放的完整示例 该示...

来源: Laya2.0_文档 发布时间: 20210715

88. 龙骨动画残影 [ 56%]

...       this._hero.scale(0.3, 0.3);         this._hero.on(Laya.Event.STOPPED, this, this._onPlayed);         this._play();                       }     private _play()     {         if (this._curAction >= this._hero.getAnimNum())         {  ...

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

89. Spine适配版(TypeScript-LayaAir基础篇(TS)-动画基础) [ 56%]

...eTempletBinary(); this.templet.loadAni(this.aniPath); this.templet.on(Laya.Event.COMPLETE, this, this.parseComplete); this.templet.on(Laya.Event.ERROR, this, this.onError) } private parseComplete(): void { this.skeleton = this.templet.buildArmature(); Laya.stage.addChild(this.skeleton); this.skeleto...

来源: Laya2.0_文档 发布时间: 20210715

90. [0]Spine3.8.75报错:Error: Unsupported skeleton data, please export with a newer version of Spine. [ 56%]

...rowser = Laya.Browser; var WebGL = Laya.WebGL; var Stage = Laya.Stage; var Event = Laya.Event; var Stat = Laya.Stat; var SpineTemplet = Laya.SpineTemplet; class SpineBinary {     constructor() {         this.aniPath = "res/powerup-pro.skel";         this.index = -1;         // Laya.ini...

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