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

大约有 4,825 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0140 秒)

4781. laya.ui.Label_API3.0 [ 33%]

...t = 200;//设置 label 的高度。 Laya.stage.addChild(label);//将 label 添加到显示列表。 var passwordLabel:Label = new Label("请原谅我,我不想被人看到我心里话。");//创建一个 Label 类的实例对象 passwordLabel 。 passwordLabel.asPassword = true;//设置 passwordLa...

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

4782. laya.ui.ComboBox_API3.0 [ 33%]

...行的处理器。 Laya.stage.addChild(comboBox);//将此 comboBox 对象添加到显示列表。 } private function onSelect(index:int):void { trace("当前选中的项对象索引: ",index); } } } example Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置...

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

4783. laya.ui.Tab [ 33%]

...所有对象重新排序。值越大,越靠上。默认为0,则根据添加顺序排序。SpriteProtected Properties Hide Inherited Protected Properties Show Inherited Protected Properties PropertyDefined By measureHeight : Number[read-only] 显示对象的实际显示区域高度(以像素...

来源: laya_api 发布时间: 20170929

4784. laya.ui.TextInput_API3.0 [ 33%]

...置 textInput 的高度。 Laya.stage.addChild(textInput);//将 textInput 添加到显示列表。 } } } example Laya.init(640, 800);//设置游戏画布宽高 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色 Laya.loader.load(["resource/ui/input.png"], laya.utils.Handler.create(this, onL...

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

4785. 使用IDE发布小游戏时,启用了版本管理会导致使用 Laya.MiniAdpter.nativefiles 定义的本地资源文件无法加载 [ 33%]

...ya.wxmini.js,需修改的地方有如下几处:   1、在第8行下面添加对 laya.net.ResourceVersion 的引用: var ResourceVersion = laya.net.ResourceVersion;  2、第330-336行,将 MiniFileMgr.isLocalNativeFile=function(url){ for(var i=0,sz=MiniAdpter.nativefiles.length;i<sz;i++)...

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

4786. laya.ui.TextArea_API3.0 [ 33%]

.../设置 textArea 的高度。 Laya.stage.addChild(textArea);//将 textArea 添加到显示列表。 } } } example Laya.init(640, 800);//设置游戏画布宽高、渲染模式 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色 Laya.loader.load(["resource/ui/input.png"], laya.utils.Handler....

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

4787. laya.ui.Tab [ 33%]

...所有对象重新排序。值越大,越靠上。默认为0,则根据添加顺序排序。SpriteProtected Properties Hide Inherited Protected Properties Show Inherited Protected Properties PropertyDefined By _anchorX : Number = NaNX锚点,值为0-1,设置anchorX值最终通过pivotX值来...

来源: Laya2.0_api 发布时间: 20190513

4788. laya.ui.RadioGroup [ 33%]

...所有对象重新排序。值越大,越靠上。默认为0,则根据添加顺序排序。SpriteProtected Properties Hide Inherited Protected Properties Show Inherited Protected Properties PropertyDefined By measureHeight : Number[read-only] 显示对象的实际显示区域高度(以像素...

来源: laya_api 发布时间: 20170929

4789. 资源管理器(ActionScript-IDE篇(AS3)-设计模式基础) [ 33%]

...们用来访问和管理项目资源的工作区域。在开始工作时,添加资源是必须的步骤。本篇将会介绍资源管理器的功能使用以及资源命名规则。 ## 1、界面介绍 ​ 资源管理器将项目资源文件夹中的内容以树状结构展示出来,如图1所...

来源: Laya2.0_文档 发布时间: 20210714

4790. laya.ui.RadioGroup [ 32%]

...所有对象重新排序。值越大,越靠上。默认为0,则根据添加顺序排序。SpriteProtected Properties Hide Inherited Protected Properties Show Inherited Protected Properties PropertyDefined By _anchorX : Number = NaNX锚点,值为0-1,设置anchorX值最终通过pivotX值来...

来源: Laya2.0_api 发布时间: 20190513