大约有 2,310 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0354 秒)
Laya_社区(1513) Laya2.0_文档(259) Laya_示例(138) Laya2.0_示例(101) Laya3.0_api(80) Laya3.0_文档(75) Laya2.0_api(74) laya_api(70)
...log(Laya.Font.defaultFont); let view:ui.TestUI=new ui.TestUI(); Laya.stage.addChild(view); console.log("font",view.lab2.font); 我设置了defaultFont 但是font输出了的还是Arial 这是为什么呢 Laya_Aaron • 2018-01-04 12:07 默认字体和大小 要分别设置 dear_H • 2018-...
来源: Laya_社区 发布时间: 20180104
...new laya.display.Text(); text.text = "abc"; text.fontSize = 60; Laya.stage.addChild(text); laya.display.Text.RightToLeft = true;加上这句后显示如图 [attach]12861[/attach] 附件 : --> 2018-06-04 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内...
来源: Laya_社区 发布时间: 20180604
...本组件 this.text = new Laya.Text(); this.text.pos(300, 260); this.owner.addChild(this.text); // 滚动条皮肤资源 var skins: any[] = []; skins.push("atlas/comp/hscroll.png", "atlas/comp/hscroll$bar.png", "atlas/comp/hscroll$down.png", "atlas/comp/hscroll$up.png"); Laya.loader.load(skins).then...
来源: Laya3.0_文档 发布时间: 20251010
...ght = 100; label.txt = "Hello"; label.lx = 100; label.ly = 100; Laya.stage.addChild(label); //---------------------------------这是用官方的api,无问题-------------------------------------------- // var label:laya.ui.Label = new laya.ui.Label(); // label.text = "Hello"; // label.fontSize = ...
来源: Laya_社区 发布时间: 20170516
...本组件 this.text = new Laya.Text(); this.text.pos(300, 260); this.owner.addChild(this.text); // 滚动条皮肤资源 var skins: any[] = []; skins.push("atlas/comp/vscroll.png", "atlas/comp/vscroll$bar.png", "atlas/comp/vscroll$down.png", "atlas/comp/vscroll$up.png"); Laya.loader.load(skins).then...
来源: Laya3.0_文档 发布时间: 20251010
...触发的话应该怎么解决 请问video可以像其他组件一样使用addChild添加到panel中么 panel剪裁 Laya2.0 panel不能限制内部场景上摄像机的显示内容了吗? laya2.1.1,用的panel作为容器,可是偶尔会闪一下,渲染出了所有超出panel外的image,就...
来源: Laya_社区 发布时间: 20170222
...eError: tex.once is not a function 官方视频教程中飞机大战 "this.addChild is not a function" 打地鼠发布成微信小游戏后提示gameThirdScriptError this.preinitialize is not a function "this.moles[this.index].show is not a function" api readFile success callback function undefined ...
来源: Laya_社区 发布时间: 20200513
...9 0 0 分享 微博 QZONE 微信 c 赞同来自: 不行哦。removeChild再addChild后,在右下方会多了一块黑影,这个黑影和遮罩大小一致 2018-07-17 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 shiyang 相关问题...
来源: Laya_社区 发布时间: 20171219
关于changeText的bug var txt = new Laya.Text(); Laya.stage.addChild(txt); txt.pos(300,300,true); txt.width = 30; txt.fontSize = 30; txt.overflow = "hidden"; txt.changeText("这里是测试代码");//这里显示正常,hidden生效 txt.changeText("这里是测试代码1");//这里文字全...
来源: Laya_社区 发布时间: 20220511
...B元素高,但是效果无效呢 sprite设置了cacheas,removechild再addchild之后原先设置的cacheas无效,通过监测面板可以看到。请问这是不是bug? 3D模型的锚点设置无效 问题状态 最新活动: 2017-12-18 19:20 浏览: 573 关注: 2 人 s_hao • 2017-12-18 21...
来源: Laya_社区 发布时间: 20171218