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

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

71. [LayaNative2.2.0beta4] 无论是否删除或者替换layabox.ttf 都会直接crash 【有demo】 [ 75%]

....defaultFontStr (http://stand.alone.version/lib ... 928:15)         at Label.__proto.measureWidt   Demo在附件中,是导出的单机版的2.2.0beta4的android studio工程 原始laya项目在之前的帖子里面已经上传了,就不重复传了   我们很理解官方研发人员非常...

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

72. Tree属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 75%]

....png) ​ (图) d.拖入此单元项的普通显示对象。 此处以 Label 为例,从资源面板里选择并拖入一个 Label 组件对象,在此给这个 Label 对象设置一下属性 name 值为 label ,方便在脚本中对它进行赋值,此name 属性值自定义即可。再设...

来源: Laya2.0_文档 发布时间: 20210714

73. sound manager在MOUSE_OVER事件中无法播放 [ 75%]

...is.onPlaySound);         }          private createButton(label: string): Sprite {             var w: number = 110;             var h: number = 40;              var button: Sprite = new Sprite();             button.siz...

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

74. [2.2.0]Label斜体不显示文字, 100%复现, 这次不闪退了 [ 75%]

[2.2.0]Label斜体不显示文字, 100%复现, 这次不闪退了 LayaNative2.2.0  layaAir2.2.0  ide2.2.0 还是老规矩,  官方2D示例修改,  将文字设为斜体.   this.tipLbll.italic = true; //这是重点 this.tipLbll.bold = false; this.tipLbll.text = "A测试B"; 进游戏死掉, ...

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

75. 为什么laya的Button渲染逻辑顺序是先渲染,再获取素材切片? [ 75%]

...s._sources && (this._bitmap.source=this._sources[index]); if (this.label){ this._text.color=this._labelColors[index]; if (this._strokeColors)this._text.strokeColor=this._strokeColors[index]; } } __proto.changeClips=function(){ var img=Loader.getRes(this._skin); if (!img){ console.log("lose s...

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

76. textArea滚动条异常问题 [ 75%]

...高,滚动条就出现了。初步确定是键盘输入文字无法改变labeltextHeight,还是说别的什么情况?有没有什么处理方式? 2017-08-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回...

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

77. laya.ui.HSlider_API3.0 [ 75%]

... _url autoSize changeHandler hitTestPrior isVertical mouseThrough name showLabel tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy allowClickBack alpha anchorX anchorY bar blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource destroyed disabled...

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

78. laya.ui.VSlider_API3.0 [ 75%]

... _url autoSize changeHandler hitTestPrior isVertical mouseThrough name showLabel tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy allowClickBack alpha anchorX anchorY bar blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource destroyed disabled...

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

79. 在Unity中设置动画事件(TypeScript-3D基础(TS)-LayaAir3D之Animator动画) [ 75%]

...件(脚本) var _script = cube.addComponent(SceneScript) as SceneScript; //label用于显示 var _lab = new Laya.Label(); _lab.text = "test"; _lab.height = 100; _lab.width = 100; _lab.fontSize = 40; _lab.pos(200,200); Laya.stage.addChild(_lab); //给脚本的加强表现用方法赋值 _script.showM...

来源: Laya2.0_文档 发布时间: 20210715

80. 版本号:2.0.2 beta, 在sound文件夹下音乐播放不了,放入到res文件夹下可播放 [ 74%]

...icButton.on(Event.CLICK, this, this.onPlayMusic); }  private createButton(label: string): Sprite { var w: number = 110; var h: number = 40;  var button: Sprite = new Sprite(); button.size(w, h); button.graphics.drawRect(0, 0, w, h, "#FF7F50"); button.graphics.fillText(label, w / 2, 8, "25px SimHei...

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