大约有 51 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0124 秒)
...regClass() export class Main extends Laya.Script { @property( { type: Laya.Label } ) private label: Laya.Label; @property( { type: Laya.Sprite3D } ) private target: Laya.Sprite3D; private animator : Laya.Animator; onStart() { this.label.on( Laya.Event.CLICK, this, this.test ); //获得状态机 this...
来源: Laya3.0_文档 发布时间: 20251010
...ist 组件列表渲染异常 layaair3.1.3版本打出的项目中的text与label组件在vivo小游戏引擎1105及以下文字显示异常 如何设置Sprite的宽高和点击区域? ui list 里面的元素不能点击两次 iphoneX环境下新手引导的抠图透明区域为黑色,其它机...
来源: Laya_社区 发布时间: 20250825
...ctive addChild addChildAt addChildren addComponent addComponentInstance addLabel bubbleEvent callLater clear clearTimer contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce fromParentPoint getBounds getChildAt getChildByName getChildIndex...
来源: Laya3.0_api 发布时间: 20231115
...ctive addChild addChildAt addChildren addComponent addComponentInstance addLabel bubbleEvent callLater clear clearTimer contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce fromParentPoint getBounds getChildAt getChildByName getChildIndex...
来源: Laya3.0_api 发布时间: 20231115
...ctive addChild addChildAt addChildren addComponent addComponentInstance addLabel bubbleEvent callLater clear clearTimer contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce fromParentPoint getBounds getChildAt getChildByName getChildIndex...
来源: Laya3.0_api 发布时间: 20231115
... ) //拿到 Image 组件 private image: Laya.Image; @property( { type:Laya.Label } ) //拿到 Label 组件 private label: Laya.Label; @property( { type:Laya.Button } ) //拿到 Button 组件 private button: Laya.Button; @property( { type:Laya.Sprite } ) //拿到 Sprite 组件 private sprite: Laya.Sp...
来源: Laya3.0_文档 发布时间: 20251010
...ctive addChild addChildAt addChildren addComponent addComponentInstance addLabel bubbleEvent callLater clear clearTimer contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce fromParentPoint getBounds getChildAt getChildByName getChildIndex...
来源: Laya3.0_api 发布时间: 20231115
...的任意属性进行赋值。 example //默认属性赋值 dataSource = {label1: "改变了label", checkbox1: true};//(更改了label1的text属性值,更改checkbox1的selected属性)。 //任意属性赋值 dataSource = {label2: {text:"改变了label",size:14}, checkbox2: {selected:true,x:10}};...
来源: Laya3.0_api 发布时间: 20231102
...的任意属性进行赋值。 example //默认属性赋值 dataSource = {label1: "改变了label", checkbox1: true};//(更改了label1的text属性值,更改checkbox1的selected属性)。 //任意属性赋值 dataSource = {label2: {text:"改变了label",size:14}, checkbox2: {selected:true,x:10}};...
来源: Laya3.0_api 发布时间: 20231102
...并用代码控制弹出。方法为: let menu = IEditor.Menu.create([ { label: "test" , click : function() { console.log("clicked"); } } ]); //当需要弹出时 menu.show(); 菜单也支持级联,并且不限层数。例如: IEditor.Menu.create([ { label: "test" , submenu: [ { label : "a" },...
来源: Laya3.0_文档 发布时间: 20251010