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

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

11. js飞机大战报错 请大神看看 [ 91%]

...是按照视频打的 但是不知道为什么 貌似每个控件(按钮 label)都是"空的" 一访问就报出异常   我查了layaUI.max.all.js文件 里面的组件名正确  layaUI.max.all.js:          this.pauseBtn=null;          this.hpLabel=null;          this.leve...

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

12. 组件脚本的内置方法 · LayaAir3.4 · 引擎文档 · LAYABOX [ 90%]

...any): void { var owner: Laya.Sprite = this.owner as Laya.Sprite; if (other.label === "buttle") { //碰撞到子弹后,增加积分,播放声音特效 if (this._level > 1) { this._level--; this._text.text = (this._level + ""); owner.getComponent(Laya.RigidBody).setVelocity({ x: 0, y: -10 }); L...

来源: Laya3.0_文档 发布时间: 20251010

13. laya.ui.RadioGroup_API3.0 [ 89%]

...radioGroup.pos(100, 100);//设置 radioGroup 的位置信息。 radioGroup.labels = "item0,item1,item2";//设置 radioGroup 的标签集。 radioGroup.skin = "resource/ui/radio.png";//设置 radioGroup 的皮肤。 radioGroup.space = 10;//设置 radioGroup 的项间隔距离。 radioGroup.selectHand...

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

14. laya.ui.Radio_API3.0 [ 89%]

...ScaleX globalScaleY graphics gray height hideFlags hitArea iconOffset is3D label labelAlign labelBold labelColors labelFont labelPadding labelSize labelStroke labelStrokeColor labelVAlign left mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY right rotation scaleX scaleY scene scrollR...

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

15. laya.ui.ProgressBar_API3.0 [ 89%]

...的任意属性进行赋值。 example //默认属性赋值 dataSource = {label1: "改变了label", checkbox1: true};//(更改了label1的text属性值,更改checkbox1的selected属性)。 //任意属性赋值 dataSource = {label2: {text:"改变了label",size:14}, checkbox2: {selected:true,x:10}};...

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

16. laya.ui.Tab_API3.0 [ 88%]

...象 tab 。 tab.skin = "resource/ui/tab.png";//设置 tab 的皮肤。 tab.labels = "item0,item1,item2";//设置 tab 的标签集。 tab.x = 100;//设置 tab 对象的属性 x 的值,用于控制 tab 对象的显示位置。 tab.y = 100;//设置 tab 对象的属性 y 的值,用于控制 tab 对...

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

17. laya.ui.Clip_API3.0 [ 88%]

...的任意属性进行赋值。 example //默认属性赋值 dataSource = {label1: "改变了label", checkbox1: true};//(更改了label1的text属性值,更改checkbox1的selected属性)。 //任意属性赋值 dataSource = {label2: {text:"改变了label",size:14}, checkbox2: {selected:true,x:10}};...

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

18. laya.ui.HSlider_API3.0 [ 88%]

... _url autoSize changeHandler hitTestPrior isVertical mouseThrough name showLabel tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy allowClickBack alpha anchorX anchorY bar blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource destroyed disabled...

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

19. laya.ui.VSlider_API3.0 [ 88%]

... _url autoSize changeHandler hitTestPrior isVertical mouseThrough name showLabel tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy allowClickBack alpha anchorX anchorY bar blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource destroyed disabled...

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

20. laya.ui.ComboBox_API3.0 [ 88%]

...on cacheAs centerX centerY components customRenderEnable dataSource defaultLabel destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray height hideFlags hitArea is3D isOpen itemColors itemHeight itemPadding itemS...

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