大约有 220 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0131 秒)
Laya_社区(150) Laya3.0_api(20) Laya2.0_文档(19) Laya3.0_文档(14) Laya2.0_示例(9) Laya_示例(6) laya_api(1) Laya2.0_api(1)
.../Kevin/Desktop/test/AirWar/AirWar09/bin/libs/laya.core.js:467:29) at LoaderManager.__proto._endLoad (file:///C:/Users/Kevin/Desktop/test/AirWar/AirWar09/bin/libs/laya.core.js:12533:12) at Loader.onLoaded (file:///C:/Users/Kevin/Desktop/test/AirWar/AirWar09/bin/libs/laya.core.js:12510:11)...
来源: Laya_社区 发布时间: 20171118
...。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load("resource/ui/button.png", Handler.create(this,onLoadComplete));//加载资源。 } private function onLoadComplete():void { trace("资源加载完成!"); var comboBox:ComboBox = new ComboBox("resource/ui/button.pn...
来源: Laya3.0_api 发布时间: 20231115
...。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load("resource/ui/btn_close.png", Handler.create(this, onLoadComplete));//加载资源。 } private function onLoadComplete():void { dialog = new Dialog_Instance();//创建一个 Dialog_Instance 类的实例对象 dialog...
来源: Laya3.0_api 发布时间: 20231115
...。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/hscroll.png", "resource/ui/hscroll$bar.png", "resource/ui/hscroll$down.png", "resource/ui/hscroll$up.png"], Handler.create(this, onLoadComplete));//加载资源。 } private function onLoadComplete():v...
来源: Laya3.0_api 发布时间: 20231115
...。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/vscroll.png", "resource/ui/vscroll$bar.png", "resource/ui/vscroll$down.png", "resource/ui/vscroll$up.png"], Handler.create(this, onLoadComplete)); } private function onLoadComplete():void { vScrollBar ...
来源: Laya3.0_api 发布时间: 20231115
...。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/vscroll.png", "resource/ui/vscroll$bar.png", "resource/ui/vscroll$down.png", "resource/ui/vscroll$up.png"], Handler.create(this, onLoadComplete)); } private function onLoadComplete():void { var arr:Arr...
来源: Laya3.0_api 发布时间: 20231115
...800); Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/vscroll.png", "resource/ui/vscroll$bar.png", "resource/ui/vscroll$down.png", "resource/ui/vscroll$up.png", "resource/ui/clip_selectBox.png", "resource/ui/clip_tree_folder.png", "resource/ui/clip_tree...
来源: Laya3.0_api 发布时间: 20231115
...成功'); } else { log('字体注册失败'); } } } 4.2 方法二 通过ttfloader下载远程字体文件,注册时传入的字体名称为ttf文件名。 Laya.loader.load("res/maobi.ttf", Loader.TTF).then(() => { var label: Label = new Label(); label.font = "maobi"; label.text = "自定义嵌...
来源: Laya3.0_文档 发布时间: 20251010
...tage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; Laya.loader.load("res/ui/refreshList/ani/refresh.png", Handler.create(this, function(){ this.initView(); })); } initView(){ // 加载并添加场景中需要使用的资源 this.baseBox = new Box(); this.baseBox.width = 443; this....
来源: Laya2.0_示例 发布时间: 20251209
...public/test/img/food/f8.png", "/public/test/img/food/f9.png", ]; Laya.loader.load(urls, Handler.create(this, onAssetLoaded), Handler.create(this, onLoading, null, false), Loader.TEXT); 这个样能加载。 但是 var roleAni = new Laya.Animation(); roleAni.loadImages(); roleAni.play();...
来源: Laya_社区 发布时间: 20170718