大约有 443 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0120 秒)
...bar : Button[read-only] 表示滑块按钮的引用。 Slider blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。 UIComponent cacheAs : String 指定显示对...
来源: Laya2.0_api 发布时间: 20190513
...d子节点 查找 根据名字,获取子节点对象getChildByName(name: string) 当我们知道某个节点的名字时,可以用个此方法找到父节点下一级的某个子节点 根据子节点的索引位置,获取子节点对象getChildAt(index:number) 当我们知道某个节点的...
来源: Laya3.0_文档 发布时间: 20251010
...entPoint updateZOrder fromImage Constructors constructor new Button(skin?: string, label?: string): Button Overrides UIComponent.constructor Defined in laya/ui/Button.ts:212 创建一个新的 Button 类实例。 Parameters Default value skin: string = null 皮肤资源地址。 Default value label:...
来源: Laya3.0_api 发布时间: 20231115
...获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cacheAs : String 指定显示对象是否缓存为静态图像,cacheAs时,子对象发生变化,会自动重新缓存,同时也可以手动调用...
来源: Laya2.0_api 发布时间: 20190513
...Point updateZOrder fromImage Constructors constructor new UIGroup(labels?: string, skin?: string): UIGroup Overrides UIComponent.constructor Defined in laya/ui/UIGroup.ts:63 创建一个新的 Group 类实例。 Parameters Default value labels: string = null 标签集字符串。以逗号做分割...
来源: Laya3.0_api 发布时间: 20231115
...网页和在小程序里面的load的逻辑不一样 这里的data是一个string,而在浏览器是一个json,所以在小游戏里面会报错,我看了两两边的调用堆栈也是不一样的 2017-12-29 0 4 分享 微博 QZONE 微信 netren_cn 赞同来自: 我现在用了绝对链接,可以loa...
来源: Laya_社区 发布时间: 20171229
...获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。 UIComponent cacheAs : String 指定显示对象...
来源: Laya2.0_api 发布时间: 20190513
...va”中的getExpansionMainPath函数,设置正确的zip路径。 public String getExpansionMainPath() { return "/storage/emulated/0/Android/test/com.layabox.game/test.zip"; } public String getExpansionPatchPath() { return ""; } LayaNative中最多支持两个zip文件,第二个zip修改getExpan...
来源: Laya3.0_文档 发布时间: 20251010
...Node._scene Defined in laya/display/Node.ts:641 _skinBaseUrl _skinBaseUrl: string Inherited from Text._skinBaseUrl Defined in laya/display/Sprite.ts:276 如果节点需要加载相关的皮肤,但放在不同域,这里可以设置 Optional _url _url: string Inherited from Node._url Defined in la...
来源: Laya3.0_api 发布时间: 20231115
...Node._scene Defined in laya/display/Node.ts:641 _skinBaseUrl _skinBaseUrl: string Inherited from Text._skinBaseUrl Defined in laya/display/Sprite.ts:276 如果节点需要加载相关的皮肤,但放在不同域,这里可以设置 Optional _url _url: string Inherited from Node._url Defined in la...
来源: Laya3.0_api 发布时间: 20231115