大约有 1,655 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0077 秒)
Laya_社区(676) Laya3.0_api(364) Laya2.0_api(194) laya_api(158) Laya2.0_文档(80) Laya3.0_文档(71) Laya_示例(58) Laya2.0_示例(54)
...nt.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inherited from Component.scriptPath Defined in laya/components/Component.ts:35 Accessors awaked get awaked(): boolean Inherited from Component.awaked Defined in laya/components/Component.ts:86 Returns boolean boundsMax...
来源: Laya3.0_api 发布时间: 20231115
...nt.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inherited from Component.scriptPath Defined in laya/components/Component.ts:35 Accessors awaked get awaked(): boolean Inherited from Component.awaked Defined in laya/components/Component.ts:86 Returns boolean canCollid...
来源: Laya3.0_api 发布时间: 20231115
...nt.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inherited from Component.scriptPath Defined in laya/components/Component.ts:35 Accessors awaked get awaked(): boolean Inherited from Component.awaked Defined in laya/components/Component.ts:86 Returns boolean destroyed...
来源: Laya3.0_api 发布时间: 20231115
...||data.url == "test/3.png"){ mark ++; console.log("------data.url:" + JSON.stringify(data.url)); if(mark == 4)//确认数据全部接收后 Laya.loader.load(["res/atlas/test.atlas", "test/1.png", "test/2.png", "test/3.png"],Laya.Handler.create(this,this.onComplete)); } }.bind(this)); }else { Laya.lo...
来源: Laya_社区 发布时间: 20190307
...直接使用。 示例代码如下所示: ```typescript let textureFile: string = ""; if (Laya.Browser.onIOS) { textureFile = "res/layabox.pvr"; } else if (Laya.Browser.onAndroid) { textureFile = "res/layabox.ktx"; } else { textureFile = "res/layabox.png"; } //预加载纹理文件 Laya.loader.loa...
来源: Laya2.0_文档 发布时间: 20210714
...nt.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inherited from Component.scriptPath Defined in laya/components/Component.ts:35 Accessors awaked get awaked(): boolean Inherited from Component.awaked Defined in laya/components/Component.ts:86 Returns boolean destroyed...
来源: Laya3.0_api 发布时间: 20231115
...出关键字即所在的索引 * @param _text */ private parseType(_text: string) { let text = _text.replace(/(\\r\\n)|(\\n)/g, "") let typeKey = text.match(/{.+?}/); if (!typeKey) return _text; let ketStr = typeKey[0]; while (ketStr) { let typeIndex = text.indexOf(ketStr) if (!this.typeList[typeInd...
来源: Laya_社区 发布时间: 20180417
... static _instance: GameRecorderMgr; /**视频地址**/ private _videoPath: String = ""; constructor() { GameRecorderMgr.instance = this; //判断是否已初始化录屏对象 if (!this._recorder) { //判断是否为字节小游戏环境 if (Browser.onTTMiniGame) { //初始化录屏对象 this._reco...
来源: Laya2.0_文档 发布时间: 20210715
... * @param normalizedTime 归一化的播放起始时间。 */ play(name: string | null = null, layerIndex: number = 0, normalizedTime: number = Number.NEGATIVE_INFINITY) 这是动画状态机里最基本的播放动画方式,通过下面的代码: //动画状态机,直接播放Run动画状态 ...
来源: Laya3.0_文档 发布时间: 20251010
...nt.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inherited from Component.scriptPath Defined in laya/components/Component.ts:35 sortingFudge sortingFudge: number Defined in laya/d3/core/render/BaseRender.ts:158 排序矫正值。 Accessors awaked get awaked(): boolea...
来源: Laya3.0_api 发布时间: 20231115