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

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

581. 调用Laya.Geolocation,程序卡死 [ 72%]

...程序卡死 if (!Laya.Geolocation.supported) { console.log(11) this.txt.text = "11"; }else{ console.log(3333) this.txt.text = "22"; } 代码运行到这里就不往下运行 了,控制台也不输出,什么问题? 2018-03-14 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到...

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

582. UI-Label [ 72%]

...Label(); Laya.stage.addChild(label); label.font = "Microsoft YaHei"; label.text = "SAMPLE DEMO"; label.fontSize = 30; label.color = color; if (strokeColor) { label.stroke = STROKE_WIDTH; label.strokeColor = strokeColor; } return label; } } new UI_Label();module laya { import Stage = Laya.Stage; impo...

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

583. laya.html.UBBParser_API3.0 [ 72%]

... = new UBBParser() Defined in laya/html/UBBParser.ts:6 Methods parse parse(text: string, remove?: boolean): string Defined in laya/html/UBBParser.ts:126 Parameters text: string Optional remove: boolean Returns string Globals "laya/html/UBBParser" UBBParser constructor defaultImgHeight defaultImgWidt...

来源: Laya3.0_api 发布时间: 20231115

584. [LayaAir3]videonode 播放视频组件微信小程序播放卡顿 [ 71%]

...画播放完后的回调时间 谷歌浏览器播放mp3出现The AudioContext was not allowed to start. layaair3.1.3版本打出的项目中的text与label组件在vivo小游戏引擎1105及以下文字显示异常 分享,扩展Laya.Text组件实现简单的富文本 Laya2.12.0项目出现卡顿...

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

585. laya.display.cmd.FillBorderTextCmd [ 71%]

...ationAll Packages | All Classes | Index | Frames No Frames FillBorderTextCmdProperties | Methods | Constants Packagelaya.display.cmdClasspublic class FillBorderTextCmdInheritanceFillBorderTextCmd Object 绘制文本边框 Public Properties PropertyDefined By  borderColor : String 定义...

来源: Laya2.0_api 发布时间: 20190513

586. [LayaAir3]组件挂上脚本应该显示状态 [ 71%]

...什么原因的吗?~~~~~~~~~~~~~ layaair3.1.3版本打出的项目中的text与label组件在vivo小游戏引擎1105及以下文字显示异常 分享,扩展Laya.Text组件实现简单的富文本 编辑器Tree组件树节点渲染回调两次 unity中的模型导出后在laya中显示不正常 ...

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

587. Slider的label样式如何修改 [ 71%]

...个貌似没有办法修改,周一帮你确认下,你也可以自己用text创建文本(text比label节省sprite个数)显示,达到你要的效果,这个还是比较简单的! 2017-09-03 0 0 分享 微博 QZONE 微信 wxj56406542 赞同来自: 嗯  好的  我试试看看 2017-09-04...

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

588. sound manager在MOUSE_OVER事件中无法播放 [ 71%]

...ite = Laya.Sprite;     import Stage = Laya.Stage;     import Text = Laya.Text;     import Event = Laya.Event;     import SoundManager = Laya.SoundManager;     import Browser = Laya.Browser;     import Handler = Laya.Handler;     import WebGL = Laya....

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

589. 分享:Laya开发TS项目使用pomelo客户端SDK(pomelo-jsclient-websocket) [ 71%]

...要注意一下它们之间的依赖关系和引用顺序<script type="text/javascript" src="libs/pomelo/index.js"></script> <script type="text/javascript" src="libs/pomelo/protocol.js"></script> <script type="text/javascript" src="libs/pomelo/protobuf.js"></script&g...

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

590. 获取的ui页面里下on事件无法触发 [ 71%]

...View", GameStartUI); 输出:Button {toggle: false, _bitmap: AutoBitmap, _text: Text, _strokeColors: null, _state: 0…} 其中为什么on事件无法触发,该怎么样写?谢谢!   2018-02-13 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内...

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