大约有 110 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0070 秒)
...te fromParentPoint(point:Point):Point 将父容器坐标系坐标转换到本地坐标系。 Sprite fromStagePoint(point:Point):Point 将Stage坐标系坐标转换到本地坐标系。 Sprite gc():void[static] 销毁当前没有被使用的资源,该函数会忽略lock=true的资源。 Scene get...
来源: Laya2.0_api 发布时间: 20190513
...g("加载结束", this.progress.value); //预加载的东西太少,为了本地看效果延迟一秒,真实项目不需要延迟 Laya.timer.once(1000, this, () => { //跳转到入口场景 Laya.Scene.open("Scenes/Index.ls"); //不要使用Laya.Scene.open("./Scenes/Index.ls"); }); }); // 侦...
来源: Laya3.0_文档 发布时间: 20241014
...g("加载结束", this.progress.value); //预加载的东西太少,为了本地看效果延迟一秒,真实项目不需要延迟 Laya.timer.once(1000, this, () => { //跳转到入口场景 Laya.Scene.open("Scenes/Index.ls"); //不要使用Laya.Scene.open("./Scenes/Index.ls"); }); }); // 侦...
来源: Laya3.0_文档 发布时间: 20251105
...urn Laya.SoundManager.soundVolume * 100; } // 统一保存到本地存储 private saveToStorage(): void { Laya.LocalStorage.setJSON(SoundManager.STORAGE_KEY, { bgmVolume: Laya.SoundManager.musicVolume * 100, bgmMuted: Laya.SoundMana...
来源: Laya_社区 发布时间: 20250930
...说明一、插件能力二、插件运行环境2.1 在Laya.Script中使用本地能力2.2 UI进程脚本和Scene进程脚本通讯的方式2.3 预览运行进程和UI进程的通讯方式三、制作编辑器UI四、程序化生成界面4.1 常用方法4.2 示例五、自定义Inspector字段编辑...
来源: Laya3.0_文档 发布时间: 20251010
...Defined in laya/display/Sprite.ts:1458 将父容器坐标系坐标转换到本地坐标系。 Parameters point: Point 父容器坐标点。 Returns Point 转换后的点。 getBounds getBounds(): Rectangle Inherited from AnimationBase.getBounds Defined in laya/display/Sprite.ts:538 获取本对象...
来源: Laya3.0_api 发布时间: 20231102
...Defined in laya/display/Sprite.ts:1458 将父容器坐标系坐标转换到本地坐标系。 Parameters point: Point 父容器坐标点。 Returns Point 转换后的点。 getBounds getBounds(): Rectangle Inherited from AnimationBase.getBounds Defined in laya/display/Sprite.ts:538 获取本对象...
来源: Laya3.0_api 发布时间: 20231102
...Defined in laya/display/Sprite.ts:1516 将父容器坐标系坐标转换到本地坐标系。 Parameters point: Point 父容器坐标点。 Returns Point 转换后的点。 getBounds getBounds(): Rectangle Inherited from Text.getBounds Defined in laya/display/Sprite.ts:580 获取本对象在父容...
来源: Laya3.0_api 发布时间: 20231115
...Defined in laya/display/Sprite.ts:1516 将父容器坐标系坐标转换到本地坐标系。 Parameters point: Point 父容器坐标点。 Returns Point 转换后的点。 getBounds getBounds(): Rectangle Inherited from Text.getBounds Defined in laya/display/Sprite.ts:580 获取本对象在父容...
来源: Laya3.0_api 发布时间: 20231115
...Defined in laya/display/Sprite.ts:1516 将父容器坐标系坐标转换到本地坐标系。 Parameters point: Point 父容器坐标点。 Returns Point 转换后的点。 getBounds getBounds(): Rectangle Inherited from Text.getBounds Defined in laya/display/Sprite.ts:580 获取本对象在父容...
来源: Laya3.0_api 发布时间: 20231115