大约有 128 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0070 秒)
...uot;opendatacontext" }); } else { throw "获取图集的磁盘url路径不存在!"; } } static sendSinglePicToOpenDataContext(url) { var tempTextureUrl = Laya.URL.formatURL(url); var fileObj = MiniFileMgr.getFileInfo(tempTextureUrl); if (fileObj) { var fileMd5Name = fileObj.md5; var...
来源: Laya_社区 发布时间: 20200103
...载直接创建动画 Parameters path:String — 要加载的动画文件路径 complete:Handler (default = null) — 加载完成的回调函数 aniMode:int (default = 0) — 与Skeleton.init的aniMode作用一致 paused()method public function paused():void 暂停动画的播放 play()method...
来源: laya_api 发布时间: 20170929
...efined in laya/net/Loader.ts:899 载入一个分包 path 小游戏的分包路径 onprogress 加载进度回调 Parameters path: string Optional onProgress: ProgressCallback Returns Promise<void> Defined in laya/net/Loader.ts:906 载入一个分包。 path 分包路径 remoteurl 如果分包...
来源: Laya3.0_api 发布时间: 20231115
...建一个script标签。 ` script.src = "demo1.js";`设置要加载的js的路径。 ` script.onload = ......`和` script.onerror =.... `分别是加载完成和加载失败的回调函数。 ` Browser.document.body.appendChild(script);`把创建的script标签添加到页面。 `var client:Object =...
来源: Laya2.0_文档 发布时间: 20210715
...创建一个script标签。 script.src = "demo1.js";设置要加载的js的路径。 script.onload = ......和script.onerror =....分别是加载完成和加载失败的回调函数。 Laya.Browser.document.body.appendChild(script);把创建的script标签添加到页面。 var client:any = new Laya...
来源: Laya3.0_文档 发布时间: 20251010
...出。不会将项目下所有的资源直接导出。 ##### 设置导出路径 在首次使用导出功能前,需要先在插件的底部,在`Save Path(导出路径)`这一栏,点击Browse(浏览)选择好要导出的根目录位置。然后再点Export(导出)。如下图所示...
来源: Laya2.0_文档 发布时间: 20210714
...QZONE 微信 ebaww 赞同来自: 1.7.5的引擎是怎么用啊 ?把这个路径下的文件替换一下就行了么? 2017-05-02 0 2 分享 微博 QZONE 微信 zfree 赞同来自: Animation 组件貌似没有生效麻烦看看。中间那把剑有Animation动画,播放的时候却没移动...
来源: Laya_社区 发布时间: 20170428
...(): void { this.sprite.loadImage("atlas/comp/image.png"); //纹理:图片路径 this.sprite.pos(Laya.stage.width >> 1, Laya.stage.height >> 1); //位置:屏幕中心 this.sprite.x = Laya.stage.width/2; //x、y分别设置位置 this.sprite.y = Laya.stage.height/2; this.sprite.size(51...
来源: Laya3.0_文档 发布时间: 20251010