大约有 546 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0045 秒)
Laya_社区(324) Laya2.0_示例(77) Laya_示例(56) Laya2.0_文档(43) Laya3.0_文档(16) laya_api(11) Laya3.0_api(10) Laya2.0_api(9)
...ode = "noborder"; //设置剧中对齐 Laya.stage.alignH = "center"; Laya.stage.alignV = "center"; //设置横竖屏 Laya.stage.screenMode = "horizontal"; callback • 2017-08-02 09:18 帮我看看呗
来源: Laya_社区 发布时间: 20170801
... 微博 QZONE 微信 bobofuns - 我是阿布大人。 赞同来自: 去掉center 和middle 手动对准位置,或者使用btn的label属性设置字体。 2019-02-22 0 2 分享 微博 QZONE 微信 内涵tv何吓吓 赞同来自: 你换个字体试试? 2019-02-25 0 0 分享 微博 QZONE 微信 HA...
来源: Laya_社区 发布时间: 20190222
...'220' + ',' + '5' + ',5)'; cxt.font = "bold 50px 宋体"; cxt.textAlign = "center";//文本的对齐方式 cxt.textBaseline = "center";//文本相对于起点的位置 //设置文字,位置 cxt.fillText("-" + hart.toString(), 100, 50, 200);//有填充cxt.font="bold 60px 宋体"; this.texture2D = new...
来源: Laya_社区 发布时间: 20200714
...er,uiCtrl:MainUICtrl):void{ this.btn.stateNum=1; this.btn.labelAlign="center"; this.btn.labelVAlign="bottom"; this.btn.labelPadding="0,0,1,0"; this.btn.label=val; if(this.lbl==null){ this.lbl=new Laya.Label(val); this.lbl.name="val"; this.lbl.size(Item.width,I...
来源: Laya_社区 发布时间: 20241014
...); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; createMap(); Laya.stage.on("click", this, onStageClick); })(); function createMap() { tiledMap = new TiledMap(); tiledMap.createMap("../../re...
来源: Laya_示例 发布时间: 20251209
...); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; this.createMap(); Laya.stage.on(Laya.Event.CLICK, this, this.onStageClick); } createMap() { const TiledMap = Laya.TiledMap, Rectangle = Laya....
来源: Laya2.0_示例 发布时间: 20251209
...一个像素的空白 Laya.init(1280,720,Laya.WebGL); Laya.stage.alignH = "center"; Laya.stage.alignV = "middle"; Laya.stage.scaleMode = "showall"; Laya.stage.screenMode = "horizontal"; 在iphone手机屏幕右测有一个像素的空白,可能是计算画布大小时有小数点的原因,使画...
来源: Laya_社区 发布时间: 20180709
... sphereCollider = sphere.addComponent(Laya.SphereCollider); sphereCollider.center = sphere.meshFilter.sharedMesh.boundingSphere.center.clone(); sphereCollider.radius = sphere.meshFilter.sharedMesh.boundingSphere.radius; sphere.name = "球体"; //圆柱体 var cylinder = scene.addChild(new Laya.MeshS...
来源: Laya_示例 发布时间: 20251209
... customer support responses - Providing misleading responses in Resolution Center - Engaging in misleading purchasing or bait-and-switch schemes - Engaging in other dishonest or fraudulent activity within or outside of the app During our investigation, we will not review any apps you submit. Please ...
来源: Laya_社区 发布时间: 20191108
...发更高效。Laya.init(600, 400); Laya.stage.alignH = Laya.Stage.ALIGN_CENTER; Laya.stage.alignV = Laya.Stage.ALIGN_MIDDLE; Laya.stage.scaleMode = Laya.Stage.SCALE_SHOWALL; Laya.stage.screenMode = Laya.Stage.SCREEN_HORIZONTAL; Laya.stage.bgColor = "#FFFFFF"; this.form = new Laya.Sprite(); this.for...
来源: Laya_示例 发布时间: 20251209