大约有 185 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0075 秒)
Laya_社区(134) Laya3.0_api(16) Laya2.0_文档(9) Laya3.0_文档(9) Laya2.0_api(8) laya_api(7) Laya_示例(1) Laya2.0_示例(1)
... { Pool } from "./Pool"; //粒子特效的基类,包括创建,播放,暂停,销毁,清理对象池 export class Particle3D extends Sprite3D { private _isInited: boolean = false; private _filePath: string = null; private _particle: Laya.Sprite = null; private _shuriKenParticle3D: Array<S...
来源: Laya3.0_文档 发布时间: 20250104
...("Walk"); this.animator.speed = 1.0; } private onKeyDown(): void { //開始暂停動畫 this.MonsterMoveToMainCharacter(); // console.log(this.monster_character.transform.position); //this.animator.speed = 0.0; let keyW = Laya.KeyBoardManager.hasKeyDown(87); let keyS = Laya.KeyBoardManager.hasKeyDow...
来源: Laya_社区 发布时间: 20200917
...ew Laya.Text(); Laya.stage.addChild(tex); tex.text = "单击舞台播放和暂停"; tex.color = "#ffffff"; tex.fontSize = 100; tex.valign = "middle"; tex.align = "center"; tex.size(Laya.stage.width, Laya.stage.height); } function onSuccess(url) { this.video = new Laya.Video(Laya.stage.width, Laya.st...
来源: Laya2.0_文档 发布时间: 20210714
...用Steam中的所有扩展功能,包括用户打开 Steam 叠加界面时暂停游戏、邀请好友、允许玩家解锁 Steam 成就等。 在集成Steam扩展前,开发者需要准备以下内容: 阅读Windows扩展文档,集成Steam扩展功能需要使用LayaNative扩展工具,安装...
来源: Laya3.0_文档 发布时间: 20251010
...ew Laya.Text(); Laya.stage.addChild(tex); tex.text = "单击舞台播放和暂停"; tex.color = "#ffffff"; tex.fontSize = 100; tex.valign = "middle"; tex.align = "center"; tex.size(Laya.stage.width,Laya.stage.height); } private onSuccess(url:string):void{ this.video = new Laya.Video(Laya.stage.width...
来源: Laya2.0_文档 发布时间: 20210715
...= new Text(); Laya.stage.addChild(text); text.text = "单击舞台播放和暂停"; text.color = "#FFFFFF"; text.fontSize = 100; text.valign = "middle"; text.align = "center"; text.size(Laya.stage.width, Laya.stage.height); } private function onSuccess(url:String):void { video = new Video(Laya.stage...
来源: Laya2.0_文档 发布时间: 20210715
...ew Laya.Text(); Laya.stage.addChild(tex); tex.text = "单击舞台播放和暂停"; tex.color = "#ffffff"; tex.fontSize = 100; tex.valign = "middle"; tex.align = "center"; tex.size(Laya.stage.width,Laya.stage.height); } private onSuccess(url:string):void{ this.video = new Laya.Video(Laya.stage.width...
来源: Laya3.0_文档 发布时间: 20251010
...videoPause videoPause(): void Defined in laya/resource/VideoTexture.ts:106 暂停播放视频 Returns void videoPlay videoPlay(): void Defined in laya/resource/VideoTexture.ts:97 开始播放视频 Returns void Static destroyUnusedResources destroyUnusedResources(): void Inherited from Resource.dest...
来源: Laya3.0_api 发布时间: 20231102
...sed(): boolean Defined in laya/device/media/Video.ts:397 返回视频是否暂停 Returns boolean pivotX get pivotX(): number set pivotX(value: number): void Inherited from AnimationBase.pivotX Defined in laya/display/Sprite.ts:888 X轴 轴心点的位置,单位为像素,默认为0。轴心点...
来源: Laya3.0_api 发布时间: 20231102
...paused(): boolean Defined in laya/media/VideoNode.ts:281 返回视频是否暂停 Returns boolean pivotX get pivotX(): number set pivotX(value: number): void Inherited from Text.pivotX Defined in laya/display/Sprite.ts:926 X轴 轴心点的位置,单位为像素,默认为0。轴心点会影响...
来源: Laya3.0_api 发布时间: 20231115