大约有 1,729 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0223 秒)
Laya_社区(1446) laya_api(82) Laya2.0_api(81) Laya3.0_api(55) Laya2.0_文档(29) Laya3.0_文档(27) Laya2.0_示例(5) Laya_示例(4)
...entSkin: string = this.spine.skinName; // 记录当前皮肤状态 //播放停止后执行逻辑 this.owner.on(Laya.Event.STOPPED, this, () => { // 通过三元运算符切换皮肤名称 currentSkin = currentSkin === "full-skins/girl" ? "full-skins/girl-blue-cape" : "full-skins/girl"; this.spine...
来源: Laya3.0_文档 发布时间: 20251128
...e if (other.label === "ground") { //只要有一个盒子碰到地板,则停止游戏 owner.removeSelf(); PhysicsGameMainRT.instance.stopGame(); } } /**使用对象池创建爆炸动画 */ createEffect(): Laya.Sprite { //获取动画预制体的节点对象 const aniNode: Laya.Sprite = this.burstA...
来源: Laya3.0_文档 发布时间: 20251010
...dScriptError 安卓真机调试报错 打包安卓版本时 播放音效会停止掉背景音乐 laya2.5 IOS微信小游戏后台切回背景音乐没播放,长时间切回来卡很久 安卓的截图问题 ios webgl开启后 切换到后台再回来直接重启app 构建的安卓项目内嵌了La...
来源: Laya_社区 发布时间: 20191029
...,尤其是循环处理,当无需使用时,一定要及时回收,或停止循环。 LayaAir提供两种计时器循环来执行代码块。 Laya.timer.frameLoop执行频率依赖于帧频率,可通过Stat.FPS查看当前帧频。 Laya.timer.loop执行频率依赖于参数指定时间。 Lay...
来源: Laya3.0_文档 发布时间: 20251010
...t(events: string): void Defined in laya/media/SoundNode.ts:173 设置触发停止的事件 Parameters events: string Returns void target set target(tar: Sprite): void Defined in laya/media/SoundNode.ts:156 设置控制播放的对象 Parameters tar: Sprite Returns void texture get texture(): Texture...
来源: Laya3.0_api 发布时间: 20231115
...ader.ts:859 清理当前未完成的加载,所有未加载的内容全部停止加载。 Returns void event event(type: string, data?: any): boolean Inherited from EventDispatcher.event Defined in laya/events/EventDispatcher.ts:32 派发事件。 Parameters type: string 事件类型。 Optional da...
来源: Laya3.0_api 发布时间: 20231115
...dex: number): void Defined in laya/ani/swf/MovieClip.ts:240 跳到某帧并停止播放动画。 Parameters index: number Returns void hasHideFlag hasHideFlag(flag: number): boolean Inherited from Node.hasHideFlag Defined in laya/display/Node.ts:173 Parameters flag: number Returns boolean hasListene...
来源: Laya3.0_api 发布时间: 20231115
... clear clear(): AnimationBase Defined in laya/display/AnimationBase.ts:277 停止动画播放,并清理对象属性。之后可存入对象池,方便对象复用。 Returns AnimationBase 返回对象本身 clearTimer clearTimer(caller: any, method: Function): void Inherited from Node.clearTimer ...
来源: Laya3.0_api 发布时间: 20231115
...y LayaAir Engine” 字样,否则LayaAir引擎官方有权要求该产品停止引擎的使用,有权要求未遵守引擎使用协议的产品从所有运营平台中下架该产品。 #### 1.3 问题社区(Issues) 除了官方网站的社区外,我们还在GitHub中开启了Issues功能...
来源: Laya2.0_文档 发布时间: 20210714
...加多个动效。 当一个动效开始播放时,其他动效会自动停止播放。 可以通过LayaAir IDE创建。 Hierarchy FrameAnimation EffectAnimation Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior loop mouseThrough name tag w...
来源: Laya3.0_api 发布时间: 20231115