大约有 111 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0040 秒)
Laya_社区(45) Laya3.0_api(16) laya_api(13) Laya2.0_api(13) Laya2.0_文档(7) Laya2.0_示例(7) Laya_示例(7) Laya3.0_文档(3)
...Index | Frames No Frames ShurikenParticleSystemProperties | Methods | Events Packagelaya.d3.core.particleShuriKenClasspublic class ShurikenParticleSystemInheritanceShurikenParticleSystem GeometryFilter EventDispatcher ObjectImplements IRenderable, laya.d3.core.IClone ShurikenParticleSystem 类...
来源: laya_api 发布时间: 20170929
... SpineTempletBinary(); this.templet.loadAni(this.aniPath); this.templet.on(Event.COMPLETE, this, this.parseComplete); this.templet.on(Event.ERROR, this, this.onError) } private parseComplete(): void { this.skeleton = this.templet.buildArmature(); Laya.stage.addChild(this.skeleton); this.skeleton.pos...
来源: Laya2.0_文档 发布时间: 20210715
...er Manages an XRSession to work with layaAir engine author miner Hierarchy EventDispatcher WebXRSessionManager Index Properties baseReferenceSpace currentFrame currentTimestamp defaultHeightCompensation session viewerReferenceSpace EVENT_FRAME_LOOP EVENT_MANAGER_END Accessors currentFrameRate refere...
来源: Laya3.0_api 发布时间: 20231115
...undChannel = new SoundChannel(); SoundManager.addChannel(channel); _btn.on(Event.CLICK, this, soundClick); function soundClick(evt:Event){ alert("channel.isStoped:"+channel.isStoped); if (channel.isStoped){ channel.play(); }else{ channel.stop(); } } channel.isStoped输出是:undefined 2017-01-16 ...
来源: Laya_社区 发布时间: 20170116
...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
...lay(0); //失去舞台焦点(切出游戏)的处理 Laya.stage.on(Laya.Event.BLUR, this, () => { _sound.stop(); }); //获得舞台焦点(切回游戏)的处理 Laya.stage.on(Laya.Event.FOCUS, this, () => { _sound.play(0); }); …… ``` ### 六、音乐与音效播放的完整示例 该示...
来源: Laya2.0_文档 发布时间: 20210715
...ll Classes | Index | Frames No Frames AnimatorProperties | Methods | Events Packagelaya.d3.componentClasspublic class AnimatorInheritanceAnimator Component3D EventDispatcher ObjectImplements laya.resource.IDestroy Animator 类用于创建动画组件。 Public Properties Hide Inherited Public...
来源: laya_api 发布时间: 20170929
... SpineTempletBinary(); this.templet.loadAni(this.aniPath); this.templet.on(Event.COMPLETE, this, this.parseComplete); this.templet.on(Event.ERROR, this, this.onError) } private function parseComplete(): void { this.skeleton = this.templet.buildArmature(); Laya.stage.addChild(this.skeleton); this.ske...
来源: Laya2.0_文档 发布时间: 20210715
...lay(0); //失去舞台焦点(切出游戏)的处理 Laya.stage.on(Laya.Event.BLUR, this, () => { _sound.stop(); }); //获得舞台焦点(切回游戏)的处理 Laya.stage.on(Laya.Event.FOCUS, this, () => { _sound.play(0); }); …… ``` ### 六、音乐与音效播放的完整示例 该示...
来源: Laya2.0_文档 发布时间: 20210714
...) { bone.skeleton.scaleX = -1; } bone.addChild(skeleton); skeleton.on(Laya.Event.STOPPED, this, this.playCom, [bone]); skeleton.play(bone.direction, false); 播放方式就和官方的一样 或者说是不是不支持叠加模式啊? 附件 : --> 2017-12-25 添加评论 免费帖 --> 分...
来源: Laya_社区 发布时间: 20171225