大约有 776 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0096 秒)
Laya_社区(432) Laya3.0_api(62) Laya2.0_api(58) Laya2.0_文档(57) laya_api(53) Laya_示例(49) Laya2.0_示例(48) Laya3.0_文档(17)
...ion Tab_Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/tab.png"], Handler.create(this, onLoadComplete));//加载资源。 } private function onLoadComplete():void { var tab:Tab = new Tab();/...
来源: Laya3.0_api 发布时间: 20231115
...); console.log('sssss', fgui.GRoot.inst.displayObject); Laya.stage.addChild(fgui.GRoot.inst.displayObject); fgui.UIPackage.addPackage("res/Basics"); fgui.UIConfig.defaultFont = "Microsoft YaHei"; fgui.UIConfig.verticalScrollBar = "ui://Basic/ScrollB...
来源: Laya_社区 发布时间: 20191030
...Enable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize elasticEnabled filters globalRotation globalScaleX globalScaleY graphics gray hScrollBar hScrollBarSkin height hideFlags hitArea is3D left mask mouseEnabled mouseX mouseY numChildren parent pivotX pivot...
来源: Laya3.0_api 发布时间: 20231115
....init(640, 800, "false");//设置游戏画布宽高、渲染模式。 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, onLoad...
来源: Laya3.0_api 发布时间: 20231115
...terList.length) * z, 0, bg.width / letterList.length, bg.height / 2); Laya.stage.addChild(letter); letter.on("click", this, (function(para){ console.log("z:"+z+";para:"+para+";letterList[para]:"+letterList[para]); return function () { alert("z:"+z+";para:" + para + "I'm letter " + letterList[para]);...
来源: Laya_社区 发布时间: 20180810
...n.skin="resources/ui/目录2.png"; let modelCtrl:ModelCtrl =Laya.stage.getChildByName("Scene3D").getComponent(ModelCtrl) as ModelCtrl; if(modelCtrl!=null){ this.uiCtrl.InitLeftUI(modelCtrl.data.result); } if(this.uiCtrl._tagList!=null){ this.uiCtrl._tagList.visible=true; } }else{...
来源: Laya_社区 发布时间: 20241014
...;_getBoundPointsM:",e); }); })); sp.x=0; sp.y=0; this._sptse=sp; Laya.stage.addChild(sp);
来源: Laya_社区 发布时间: 20170423
...其实此时鼠标就是在控件范围内的。目前我把事件挂Laya.stage上,已解决。 另外像DRAG_START这种事件得用户自己调startDrag这样的接口才能触发,新手谁知道啊!都用户自己调了,还要事件干什么?感觉这整套设计乱糟糟的啊,个人...
来源: Laya_社区 发布时间: 20180703
...读]是否已经销毁。对象销毁后不能再使用。Node displayedInStage : Boolean[read-only] 表示是否在显示列表中显示。Node displayHeight : Number[read-only] 对象的显示高度(以像素为单位)。 Sprite displayWidth : Number[read-only] 对象的显示宽度(以...
来源: Laya2.0_api 发布时间: 20190513
... Tree_Example { public function Tree_Example() { Laya.init(640, 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....
来源: Laya3.0_api 发布时间: 20231115