大约有 398 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0222 秒)
Laya_社区(315) Laya2.0_文档(29) Laya3.0_api(21) Laya3.0_文档(17) Laya2.0_示例(7) Laya_示例(5) laya_api(2) Laya2.0_api(2)
...aya.stage.bgColor = "#efefef";//设置画布的背景颜色 var clip; Laya.loader.load("resource/ui/clip_num.png",laya.utils.Handler.create(this,loadComplete));//加载资源 function loadComplete() { console.log("资源加载完成!"); clip = new laya.ui.Clip("resource/ui/clip_num.png",10,1);//...
来源: Laya3.0_api 发布时间: 20231115
...。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load("resource/ui/color.png", Handler.create(this,onLoadComplete));//加载资源。 } private function onLoadComplete():void { trace("资源加载完成!"); var colorPicket:ColorPicker = new ColorPicker();//创建一...
来源: Laya3.0_api 发布时间: 20231115
...。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load("resource/ui/button.png", Handler.create(this,onLoadComplete)); } private function onLoadComplete():void { trace("资源加载完成!"); var button:Button = new Button("resource/ui/button.png","label");//创建一...
来源: Laya3.0_api 发布时间: 20231115
...。 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/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
... Text 实例。 package { import laya.display.Animation; import laya.net.Loader; import laya.utils.Handler; public class Animation_Example { public function Animation_Example() { Laya.init(640, 800);//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景...
来源: Laya3.0_api 发布时间: 20231115
laya native加载人物模型出错 我使用 var that=this; Laya.loader.create("res/3d/baseman01.lh", Laya.Handler.create(this, function(){ var scene3d=new Laya.Scene3D(); that.owner.addChild(scene); var model=Laya.loader.getRes(window.getPath("res/3d/baseman01.lh")); var player=model.clone();...
来源: Laya_社区 发布时间: 20190725