大约有 150 项符合查询结果, 库内数据总量为 30,936 项。 (搜索耗时: 0.0044 秒)
...看到内嵌模式、加载模式、分离模式,三个选项。  **默认是内嵌模式**,这种模式下,导出UI的页面时,会将配置信息等内容导出为项目的代码文件。最终发布成小游戏的时候就是js文件。从而占用了一些宝贵的小...
来源: Laya2.0_文档 发布时间: 20210715
...og(); dialog.width=300; dialog.height=600; //var bg = new Laya.Image('comp/img_bg.png'); //dialog.addChild(bg); var button = new Laya.Button('comp/button.png'); button.label='Hello World!'; button.name = Laya.Dialog.CLOSE; button.width=260; button.height=500; button.pos(35, 35); dialog.addChild(butt...
来源: Laya_社区 发布时间: 20190117
...ht reserved,powered by LayaAir Engine更新时间: 2024-09-10 16:27:12 img{cursor:pointer}
来源: Laya3.0_文档 发布时间: 20240910
...ht reserved,powered by LayaAir Engine更新时间: 2024-09-10 16:27:13 img{cursor:pointer}
来源: Laya3.0_文档 发布时间: 20240910
...看到内嵌模式、加载模式、分离模式,三个选项。  **默认是内嵌模式**,这种模式下,导出UI的页面时,会将配置信息等内容导出为项目的代码文件。最终发布成小游戏的时候就是js文件。从而占用了一些宝贵的小...
来源: Laya2.0_文档 发布时间: 20210715
... 首先,我在index.html中添加了一张logo图片具体如下: <img id="logo" src="res/loading/logo.png" style="position:absolute;left:50%;top:50%;transform:translate(-50%,-50%)"> 然后进入游戏逻辑后我又在stage上添加了同样路径下的同一...
来源: Laya_社区 发布时间: 20180806
...ht reserved,powered by LayaAir Engine更新时间: 2025-01-03 16:42:22 img{cursor:pointer}
来源: Laya3.0_文档 发布时间: 20250103
..."image/png"); var _webframe:*; _webframe = Browser.document.createElement("img"); _webframe.setAttribute('src', base64String); //_webframe.setAttribute('frameborder', 0); _webframe.setAttribute('width', "100%"); _webframe.setAttribute('height', "100%"); //_webframe.setAttribute('align', "middle"); _...
来源: Laya_社区 发布时间: 20180103
...ht reserved,powered by LayaAir Engine更新时间: 2025-03-10 16:22:06 img{cursor:pointer}
来源: Laya3.0_文档 发布时间: 20250310
... "htmlimage": case "nativeimage": MiniLoader._transformImgUrl(url, type, thisLoader); break; case Laya.Loader.SOUND: thisLoader._loadSound(url); break; default: thisLoader._loadResource(type, url); } } _loadSound(url) { var thisLoader = this; var fileNativeUrl; if (MiniFileMgr.is...
来源: Laya_社区 发布时间: 20200103