大约有 504 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0046 秒)
...取是否已经销毁 。 Component enabled : Boolean 获取是否启用组件。 Component id : int[read-only] 获取唯一标识ID。 Component isSingleton : Boolean[override] [read-only] 获取是否为单实例组件。 Script3D owner : Node [只读]获取所属Node节点。 ComponentPubli...
来源: Laya2.0_api 发布时间: 20190513
...m Component.enabled Defined in laya/components/Component.ts:74 是否启用组件。 Returns boolean Inherited from Component.enabled Defined in laya/components/Component.ts:78 是否启用组件。 Parameters value: boolean Returns void hideFlags get hideFlags(): number set hideFlags(value: number)...
来源: Laya3.0_api 发布时间: 20231115
...m Component.enabled Defined in laya/components/Component.ts:74 是否启用组件。 Returns boolean Inherited from Component.enabled Defined in laya/components/Component.ts:78 是否启用组件。 Parameters value: boolean Returns void hideFlags get hideFlags(): number set hideFlags(value: number)...
来源: Laya3.0_api 发布时间: 20231115
...{ my_input.text=""; } // 根据my_html追加的文本,动态修改my_html组件的高度,并刷新panel,让panel滚动条随之改变 my_html.height=my_html.contextHeight; my_panel.refresh(); // panel滚动条永远位于最下方,显示最后输入的文本 my_panel.vScrollBar.value=my_pane...
来源: Laya_社区 发布时间: 20170107
...本节只是介绍一种思路。 ##### 3.4.2 相对布局 LayaAirIDE的UI组件中提供了基于父容器的相对布局属性,如top、bottom、left、right。我们可以把需要特别处理的按钮都统一放到一个容器组件中,例如box。然后,我们在场景Runtime类的onAwak...
来源: Laya2.0_文档 发布时间: 20210715
...m Component.enabled Defined in laya/components/Component.ts:74 是否启用组件。 Returns boolean Inherited from Component.enabled Defined in laya/components/Component.ts:78 是否启用组件。 Parameters value: boolean Returns void hideFlags get hideFlags(): number set hideFlags(value: number)...
来源: Laya3.0_api 发布时间: 20231115
...sicsTriggerComponent PhysicsTriggerComponent 类用于创建物理触发器组件。 Hierarchy PhysicsComponent PhysicsTriggerComponent PhysicsCollider Rigidbody3D Index Constructors constructor Properties _extra _singleton canScaleShape owner runInEditor scriptPath Accessors awaked canCollideWith c...
来源: Laya3.0_api 发布时间: 20231115
...ir IDE中,新建一个2D空项目,在Scene2D下新建一个自定义的组件脚本,并添加如下代码: onAwake(): void { //侦听自定义的事件"Click" this.owner.on("Click",this,()=>{ console.log("侦听到自定义的“Click”事件"); }) } //鼠标点击后执行,发送Click...
来源: Laya3.0_文档 发布时间: 20251010
...形的显示对象。 封装了位置,宽高及九宫格的处理,供UI组件使用。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By cmds : ArrayGraphics height : Number 表示显示对象的高度,以像素为单位。 AutoBitmap ...
来源: laya_api 发布时间: 20170929
...id_mq3mt1b4zxfq22 相关问题 Layaair IDE的帧属性面板不见了 List 组件列表渲染异常 laya2的Scene默认是文件模式,不会生成场景类了,此时该如何获得场景内的元素 使用了u3D导出来的粒子,不停的显示移除并销毁其克隆对象,统计面板的...
来源: Laya_社区 发布时间: 20221018