大约有 43 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0027 秒)
...onents/Inspector-SkinnedMeshRenderer.png) 1. Mesh 2. Root Bone 3. Bounds - Center - Extent 4. Materials - Size - Element - Animator  1. Controller 2. Culling Mode - Always Animate - Cull Completely - Terrain / Terrain Collider ; Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = "showall"; Laya.stage.bgColor = "#232628"; showApe(); })(); function showApe() { // 方法1:使用loadImage var ape = new Sprite(); Laya.stage.addChild(ape); ape.loadImage("../../res/apes/monk...
来源: Laya2.0_文档 发布时间: 20210715
...); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = "showall"; Laya.stage.bgColor = "#ffffff"; this.showApe(); } private showApe(): void { // 方法1:使用loadImage var ape: Sprite = new Sprite(); ape.pos(100,50); Laya.stage.addChild(ape); ape...
来源: Laya2.0_文档 发布时间: 20210715
...字符串。 | | align | 文本的水平对齐方式。可选值有left、center、right。 | | valign | 文本的垂直对齐方式。可选值有top、middle、bottom。 | | color | 文本的颜色值。默认为黑色。 | | bgColor | 文本背景颜色。 | | font | 文本的字体名称。 | | ...
来源: Laya2.0_文档 发布时间: 20210714
...字符串。 | | align | 文本的水平对齐方式。可选值有left、center、right。 | | valign | 文本的垂直对齐方式。可选值有top、middle、bottom。 | | color | 文本的颜色值。默认为黑色。 | | bgColor | 文本背景颜色。 | | font | 文本的字体名称。 | | ...
来源: Laya2.0_文档 发布时间: 20210715
...体大小。 | | align | 文本的水平对齐方式。可选值有left、center、right。 | | overflow | | | runtime | | | visible | | ## 二、通过代码创建Label组件 在我们进行书写代码的时候,免不了通过代码控制UI,创建`UI_Label`类,在代码中导入`laya.ui.Labe...
来源: Laya2.0_文档 发布时间: 20210714
...); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = "showall"; Laya.stage.bgColor = "#232628"; Laya.loader.load(ApePath, Handler.create(this, setup)); })(); function setup() { normalizeApe(); makeRedApe(); grayingApe(); } function normalizeApe() ...
来源: Laya2.0_文档 发布时间: 20210714
...); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = "showall"; Laya.stage.bgColor = "#232628"; Laya.loader.load(this.ApePath, Handler.create(this, this.setup)); } private setup(): void { this.normalizeApe(); this.makeRedApe(); this.grayingApe(); ...
来源: Laya2.0_文档 发布时间: 20210715
...); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; createTexts(); })(); function createTexts() { var t1 = createText(); t1.overflow = Text.VISIBLE; t1.pos(10, 10); var t2 = createText(); t2.ov...
来源: Laya2.0_文档 发布时间: 20210714
...); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; this.createTexts(); } private createTexts(): void { var t1: Text = this.createText(); t1.overflow = Text.VISIBLE; t1.pos(10, 10); var t2: Tex...
来源: Laya2.0_文档 发布时间: 20210715