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

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

121. 请问,如何获得StandardMaterial,为什么transformUV始终是null [ 63%]

...       changeActionButton.size(160, 40);         changeActionButton.labelBold = true;         changeActionButton.labelSize = 30;         changeActionButton.sizeGrid = "4,4,4,4";         changeActionButton.scale(Laya.Browser.pixelRatio, Laya.Browser.pixelRatio);         changeA...

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

122. 在Unity中设置动画事件(TypeScript-3D基础(TS)-LayaAir3D之Animator动画) [ 62%]

...件(脚本) var _script = cube.addComponent(SceneScript) as SceneScript; //label用于显示 var _lab = new Laya.Label(); _lab.text = "test"; _lab.height = 100; _lab.width = 100; _lab.fontSize = 40; _lab.pos(200,200); Laya.stage.addChild(_lab); //给脚本的加强表现用方法赋值 _script.showM...

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

123. 脚本组件的使用(ActionScript-2D进阶篇(AS3)-扩展模块) [ 62%]

... | Number和sNumber的最小值 | | max | Number和sNumber的最大值 | | label | Nodes的关联属性,展示的属性名( 可选) 如果有则根据labels确定长度 没有就显示长度输入框 | | types | Nodes的关联属性,每个元素的类型(可选) | | xCount | Nodes的关联属...

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

124. 脚本化(ActionScript-IDE篇(AS3)-组件化开发相关) [ 62%]

... | Number和sNumber的最小值 | | max | Number和sNumber的最大值 | | label | Nodes的关联属性,展示的属性名( 可选) 如果有则根据labels确定长度 没有就显示长度输入框 | | types | Nodes的关联属性,每个元素的类型(可选) | | xCount | Nodes的关联属...

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

125. 请问ts版本下的Combobox组件,下拉框层级问题,是不打算改了吗? [ 61%]

...ya.Image('comp/bg.png'); let cbx = new Laya.ComboBox('comp/combobox.png', 'label1,label2'); cbx.selectedIndex = 0; let dialog = new Laya.Dialog(); dialog.addChild(img); dialog.addChild(cbx); dialog.popup(); romeo211 • 2017-04-25 22:48 这样就能复现了,原来不需要IDE cuixueying • 2017-...

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

126. Button属性详解(JavaScript-IDE篇(JS)-IDE组件属性详解) [ 61%]

...Button相关属性 btn.width = 100; btn.height = 50; btn.pos(100,100); btn.label = "按钮"; } ``` 上述代码运行效果如动图2所示: ![动图2](img/2.gif) (动图2) **Tips:** Button 组件的属性接口介绍请参考 [Button API](https://layaair2.ldc2.layabox.com/api2/Chinese/index.html?...

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

127. Button属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 60%]

...Button相关属性 btn.width = 100; btn.height = 50; btn.pos(100,100); btn.label = "按钮"; } } new GameMain(); ``` 上述代码运行效果如动图2所示: ![动图2](img/2.gif) (动图2) **Tips:** Button 组件的属性接口介绍请参考 [Button API](https://layaair2.ldc2.layabox.com/api2/C...

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

128. layaAir自定义组件设置默认参数无效 [ 60%]

...<ScaleButton className="laya.customUI.ScaleButton" inherit="Button" skinLabel="skin" defaultValue="label=''" icon="sbtn" resName="sbtn" group="公用,常用,宽高及位置" drag="3"> <prop name="scaleTime" tips="缩放使用时间" type="number" default="100" group="常用"/> </Scale...

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

129. Button属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 60%]

...ton相关的属性 btn.width = 100; btn.height = 50; btn.pos(100,100); btn.label = "按钮"; } } } ``` 上述代码运行效果如动图2所示: ![动图2](img/2.gif) (动图2) **Tips:** Button 组件的属性接口介绍请参考 [Button API](https://layaair2.ldc2.layabox.com/api2/Chinese/index.h...

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

130. UI-RefreshList [ 60%]

...t; Handler = Laya.Handler; WebGL = Laya.WebGL; Animation = Laya.Animation; Label = Laya.Label; Text = Laya.Text; Point = Laya.Point; Tween = Laya.Tween; TextArea = Laya.TextArea; class UI_RefreshList { constructor() { this.baseBox = null; this.refreshLoading = null; this.loadingAni = null; this.load...

来源: Laya2.0_示例 发布时间: 20251130