大约有 404 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0128 秒)
...域的属性为:width、height、hitArea,优先级顺序为:hitArea(type:HitArea)>hitArea(type:Rectangle)>width/height。 default false 不可穿透,此对象的鼠标响应区域由width、height、hitArea属性决定。 name name: string = "" Inherited from Node.name Defined in laya/...
来源: Laya3.0_api 发布时间: 20231102
...目文件夹下 .vscode/launch.json 添加配置 { "name":"compile", "type": "node", "request": "launch", //nodejs 可执行文件 "runtimeExecutable": "D:\\workspace\\layabox\\node-v7.9.0-win-x64\\node.exe", //使用Laya编辑器下的 gulpjs "program": "D:\\workspace\\layabox\\LayaAirIDE_beta\\...
来源: Laya_社区 发布时间: 20200607
...方法(如果有关闭动画,则在动画完成后执行) * @param type 如果是点击默认关闭按钮触发,则传入关闭按钮的名字(name),否则为null。 */ onClosed(type: string = null): void { } /**场景打开完成后,调用此方法(如果有弹出动画,则在动画...
来源: Laya3.0_文档 发布时间: 20251010
...域的属性为:width、height、hitArea,优先级顺序为:hitArea(type:HitArea)>hitArea(type:Rectangle)>width/height。 default false 不可穿透,此对象的鼠标响应区域由width、height、hitArea属性决定。 name name: string = "" Inherited from Node.name Defined in laya/...
来源: Laya3.0_api 发布时间: 20231102
...域的属性为:width、height、hitArea,优先级顺序为:hitArea(type:HitArea)>hitArea(type:Rectangle)>width/height。 default false 不可穿透,此对象的鼠标响应区域由width、height、hitArea属性决定。 name name: string = "" Inherited from Node.name Defined in laya/...
来源: Laya3.0_api 发布时间: 20231115
...Laya; @regClass() export class NewScript extends Laya.Script { @property({ type: Laya.Button }) public uiBtn: Laya.Button; constructor() { super(); } /** * 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 */ onAwake(): void { this.uiBtn.on(Laya.Even...
来源: Laya3.0_文档 发布时间: 20251010
...域的属性为:width、height、hitArea,优先级顺序为:hitArea(type:HitArea)>hitArea(type:Rectangle)>width/height。 default false 不可穿透,此对象的鼠标响应区域由width、height、hitArea属性决定。 name name: string = "" Inherited from Node.name Defined in laya/...
来源: Laya3.0_api 发布时间: 20231115
...wScript extends Laya.Script { //declare owner : Laya.Sprite3D; @property({ type: Laya.Text }) txt: Laya.Text; constructor() { super(); } onAwake(): void { this.txt.text = "第{n=1}页"; //显示文本的初始化内容 } onStart(): void { let page: number = 1; Laya.timer.frameLoop(10, this, () =>...
来源: Laya3.0_文档 发布时间: 20251010
...ite3D addChildren(... args):void 批量增加子节点 Node addComponent(type:*):Component3D 添加指定类型组件。 Sprite3D addLayer(layer:Layer):void 增加可视图层。 BaseCamera clearTimer(caller:*, method:Function):void 清理定时器。功能同Laya.timer.clearTimer()。 Node clo...
来源: laya_api 发布时间: 20170929
...域的属性为:width、height、hitArea,优先级顺序为:hitArea(type:HitArea)>hitArea(type:Rectangle)>width/height。 default false 不可穿透,此对象的鼠标响应区域由width、height、hitArea属性决定。 name name: string = "" Inherited from Node.name Defined in laya/...
来源: Laya3.0_api 发布时间: 20231115