大约有 86 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0050 秒)
...如果节点需要加载相关的皮肤,但放在不同域,这里可以设置 Optional _url _url: string Inherited from Node._url Defined in laya/display/Node.ts:55 autoSize autoSize: boolean = false Inherited from Text.autoSize Defined in laya/display/Sprite.ts:265 指定是否自动计算宽...
来源: Laya3.0_api 发布时间: 20231115
...nput_Example { public function TextInput_Example() { Laya.init(640, 800);//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/input.png"], Handler.create(this, onLoadComplete));//加载资源。 } private function...
来源: Laya3.0_api 发布时间: 20231115
...tArea_Example { public function TextArea_Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/input.png"], Handler.create(this, onLoadComplete));//加载资源。 } private function onLoadComplete...
来源: Laya3.0_api 发布时间: 20231115
...激活。 Inherited from Node.active Defined in laya/display/Node.ts:663 设置是否激活。 Parameters value: boolean 是否激活。 Returns void 自身是否激活。 activeInHierarchy get activeInHierarchy(): boolean Inherited from Node.activeInHierarchy Defined in laya/display/Node.ts:686 获...
来源: Laya3.0_api 发布时间: 20231115
...激活。 Inherited from Node.active Defined in laya/display/Node.ts:663 设置是否激活。 Parameters value: boolean 是否激活。 Returns void 自身是否激活。 activeInHierarchy get activeInHierarchy(): boolean Inherited from Node.activeInHierarchy Defined in laya/display/Node.ts:686 获...
来源: Laya3.0_api 发布时间: 20231115
...,默认使用百分比,也可以取消百分比勾选,采用像素值设置。 Percent:当勾选时,矩形的尺寸为Sprite对象尺寸的百分比,当不勾选时,矩形的尺寸为像素大小。 Line Width:绘制矩形的边框宽度值。 Line Color:绘制矩形的边框颜色...
来源: Laya3.0_文档 发布时间: 20251010