• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 573 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0052 秒)

201. 为什么谷歌浏览器调试可以显示这些文字打包后却没有了 [ 68%]

...fontFamily = "Microsoft YaHei"; div.style.width = 200; div.style.color = "#black"; for(let i=0; i<FaceView.faceArray.length; i++) { txt = txt.replace(FaceView.repl[i],'<img src="res/face/face'+i+'.png" style="width:36px;height:36px;position:relative;top:30px;...

来源: Laya_社区 发布时间: 20170911

202. 这是图文混排谷歌浏览器查看正常打包后的APP文字消失表情变大 [ 68%]

...div.style.fontFamily = "Microsoft YaHei"; div.style.width = 200; div.style.color = "#000000"; for(let i=0; i<FaceView.faceArray.length; i++) { txt = txt.replace(FaceView.repl,'<img src="res/ChatFace/face'+i+'.png" style="width:28px;height:28px;"></img>'); } div.pos(30,5); div.innerHTM...

来源: Laya_社区 发布时间: 20170911

203. ambientColor无效 [ 68%]

ambientColor无效 material = new StandardMaterial(); material.diffuseTexture = Texture2D.load("res/earth.png"); material.ambientColor=new Vector(2,2,2); sphere.meshRender.material = material; 我照教程里设置了环境颜色 material.ambientColor=new Vector(2,2,2); 但是无效,模型并没...

来源: Laya_社区 发布时间: 20180531

204. 帮忙看看Texture类getPixels内存泄漏的问题。 [ 68%]

...private var _tex:Texture; private var _htmlCanvas:HTMLCanvas; private var _colorSpr:Sprite; private var _colorTex:Texture; private var _initPixelCount:int; public function Main() { Laya.init(1024, 768, WebGL); Stat.show(0, 0); Laya.stage.bgColor = "#fff"; Laya.loader.load("assets/images/color1.png",...

来源: Laya_社区 发布时间: 20180302

205. 如何改变text部分字的颜色或两个不同颜色的text如何拼接看起来像一个文本? [ 68%]

...r htmlDiv:HTMLDivElement=new HTMLDivElement(); htmlDiv.innerHTML='<span color="#FF0000">哈哈哈</span><span color="#FFFF00">嘻嘻嘻</span>'; Laya.stage.addChild(htmlDiv); 2017-05-05 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请...

来源: Laya_社区 发布时间: 20170505

206. Layabox web 复制一段文字到剪贴板 [ 67%]

...:260px; margin-left:-200px;margin-top:-150px; visibility:hidden;background-color:#fff;z-index:100;border:1px solid grey;overflow: hidden;} .MyContent{position:fixed;left:50%;top:50%;} .MyBtn{width:100%;height:18%;background-color:white;} #confirm{position:fixed;left:49%;top:53%;font-size:30px;color:...

来源: Laya_社区 发布时间: 20181214

207. 动画-旧版骨骼动画 [ 67%]

...; directionLight.direction = new Laya.Vector3(0, -0.8, -1); directionLight.color = new Laya.Vector3(0.7, 0.6, 0.6); var plane = scene.addChild(Laya.Sprite3D.load("../../res/threeDimen/skinModel/Zombie/old/Plane.lh")); var zombie = scene.addChild(Laya.Sprite3D.load("../../res/threeDimen/skinModel/Zom...

来源: Laya_示例 发布时间: 20251130

208. UI-Input [ 67%]

...age.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; skins = ["../../res/ui/input (1).png", "../../res/ui/input (2).png", "../../res/ui/input (3).png", "../../res/ui/input (4).png"]; Laya.loader.load(skins, Handler.create(this, onLoadComplete)); //加载资...

来源: Laya_示例 发布时间: 20251130

209. 基础文本 · LayaAir3.3 · 引擎文档 · LAYABOX [ 67%]

...字体需要频繁修改,可以勾选此项以提升性能 文本颜色color 文本的颜色,可以直接输入颜色值,例如:#ffffff,也可以点击输入条右侧的拾色器选取颜色 样式 style “B”(bold)是否为粗体,“I”(italic)是否为斜体,“U”是否有下划...

来源: Laya3.0_文档 发布时间: 20251010

210. UI-Input [ 67%]

...age.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; Stat.show(); skins = ["res/ui/input (1).png", "res/ui/input (2).png", "res/ui/input (3).png", "res/ui/input (4).png"] Laya.loader.load(skins, Handler.create(this, this.onLoadComplete)); } onLoadComplete() {...

来源: Laya2.0_示例 发布时间: 20251130