大约有 593 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0139 秒)
...}): T Inherited from Node.getComponent Defined in laya/display/Node.ts:968 获得组件实例,如果没有则返回为null Type parameters T: Component Parameters componentType: {} 组建类型 Returns T 返回组件 getComponents getComponents(componentType: typeof Component): Component[] Inherit...
来源: Laya3.0_api 发布时间: 20231115
...2的Scene默认是文件模式,不会生成场景类了,此时该如何获得场景内的元素 Laya mac版的IDE 是没测试就上线了吗? 问题状态 最新活动: 2018-12-24 21:43 浏览: 4588 关注: 4 人 136*****813 • 2018-12-27 21:22 嗯,但是应该不是网络某次请求不...
来源: Laya_社区 发布时间: 20181209
...lse,优先检测子对象,当有子对象被命中时,中断检测,获得命中目标。如果未命中任何子对象,最后再检测此对象;如果为true,则优先检测本对象,如果本对象没有被命中,直接中断检测,表示没有命中目标;如果本对象被...
来源: Laya3.0_api 发布时间: 20231102
...可以设置多个滤镜组合。Sprite globalScaleX : Number[read-only] 获得相对于stage的全局X轴缩放值(会叠加父亲节点的缩放值)。 Sprite globalScaleY : Number[read-only] 获得相对于stage的全局Y轴缩放值(会叠加父亲节点的缩放值)。 Sprite graphic...
来源: laya_api 发布时间: 20170929
...lse,优先检测子对象,当有子对象被命中时,中断检测,获得命中目标。如果未命中任何子对象,最后再检测此对象;如果为true,则优先检测本对象,如果本对象没有被命中,直接中断检测,表示没有命中目标;如果本对象被...
来源: Laya3.0_api 发布时间: 20231115
...}): T Inherited from Node.getComponent Defined in laya/display/Node.ts:968 获得组件实例,如果没有则返回为null Type parameters T: Component Parameters componentType: {} 组建类型 Returns T 返回组件 getComponents getComponents(componentType: typeof Component): Component[] Inherit...
来源: Laya3.0_api 发布时间: 20231115
...可以设置多个滤镜组合。Sprite globalScaleX : Number[read-only] 获得相对于stage的全局X轴缩放值(会叠加父亲节点的缩放值)。 Sprite globalScaleY : Number[read-only] 获得相对于stage的全局Y轴缩放值(会叠加父亲节点的缩放值)。 Sprite graphic...
来源: laya_api 发布时间: 20170929
...}): T Inherited from Node.getComponent Defined in laya/display/Node.ts:968 获得组件实例,如果没有则返回为null Type parameters T: Component Parameters componentType: {} 组建类型 Returns T 返回组件 getComponents getComponents(componentType: typeof Component): Component[] Inherit...
来源: Laya3.0_api 发布时间: 20231115
...可以设置多个滤镜组合。Sprite globalScaleX : Number[read-only] 获得相对于stage的全局X轴缩放值(会叠加父亲节点的缩放值)。 Sprite globalScaleY : Number[read-only] 获得相对于stage的全局Y轴缩放值(会叠加父亲节点的缩放值)。 Sprite graphic...
来源: laya_api 发布时间: 20170929
...NewScript extends Laya.Script { private ui : RuntimeScript; onStart() { // 获得场景的Runtime对象 this.ui = this.owner.scene as RuntimeScript; // Button添加鼠标事件,让Image不显示 this.ui.Button.on( Laya.Event.MOUSE_DOWN, null, ()=>{ this.ui.Image.visible = false; }); } } ui 属...
来源: Laya3.0_文档 发布时间: 20251010