• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 769 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0095 秒)

571. laya.ui.TipManager_API3.0 [ 52%]

...defaultTipHandler destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray height hideFlags hitArea is3D left mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY right rotation scaleX scaleY scene scro...

来源: Laya3.0_api 发布时间: 20231115

572. laya.ui.VScrollBar_API3.0 [ 52%]

...() { 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"], Handler.create(this, onLoad...

来源: Laya3.0_api 发布时间: 20231115

573. 双指旋转在真机微信小游戏里不起作用,代码写错了吗,请指教 [ 52%]

...-01-06 0 0 分享 微博 QZONE 微信 李国艺 赞同来自: 但是发现 stage on 事件触发太频繁了。能否设置多少毫秒采样一次呢 现在的问题是,用户不是同时双指旋转,就会触发drag 事件。导致位置秒移。 我想能不能延时50毫秒再判断是双指...

来源: Laya_社区 发布时间: 20190105

574. laya.ui.ColorPicker_API3.0 [ 52%]

...rPicker_Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load("resource/ui/color.png", Handler.create(this,onLoadComplete));//加载资源。 } private function onLoadComplete():void { trace("资源加载完成...

来源: Laya3.0_api 发布时间: 20231115

575. laya.ui.ViewStack_API3.0 [ 52%]

...Enable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray height hideFlags hitArea is3D items left mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY right rotation scaleX scaleY scen...

来源: Laya3.0_api 发布时间: 20231115

576. laya.ui.ProgressBar_API3.0 [ 52%]

...ressBar_Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/progress.png", "resource/ui/progress$bar.png"], Handler.create(this, onLoadComplete));//加载资源。 } private function onLoadComple...

来源: Laya3.0_api 发布时间: 20231115

577. laya.ui.HSlider_API3.0 [ 52%]

...HSlider_Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/hslider.png", "resource/ui/hslider$bar.png"], Handler.create(this, onLoadComplete));//加载资源。 } private function onLoadComplete...

来源: Laya3.0_api 发布时间: 20231115

578. 请问:Ts下如何实现打开照相机和系统图库的方法?IOS和Android [ 52%]

...button.centerX = 0;         button.centerY = 0;         Laya.stage.addChild(button);         button.on(laya.events.Event.CLICK,this,function () {             let photo = laya.utils.Browser.getElementById("photo");            photo.click();         });...

来源: Laya_社区 发布时间: 20161114

579. laya.ui.VSlider_API3.0 [ 52%]

...VSlider_Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/vslider.png", "resource/ui/vslider$bar.png"], Handler.create(this, onLoadComplete));//加载资源。 } private function onLoadComplete...

来源: Laya3.0_api 发布时间: 20231115

580. laya.ui.VBox_API3.0 [ 52%]

...Enable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray height hideFlags hitArea is3D left mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY right rotation scaleX scaleY scene scro...

来源: Laya3.0_api 发布时间: 20231115