大约有 279 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0049 秒)
...xtends ui.normalDialogUI { constructor( text: string ) { super(); // 设置label文字 this.context.text = text; this.btn_close.on(Laya.Event.CLICK, this, this.close); this.btn_success.on(Laya.Event.CLICK, this, this.close); } } 2018-12-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有...
来源: Laya_社区 发布时间: 20181216
...树节点渲染回调两次 layaair3.1.3版本打出的项目中的text与label组件在vivo小游戏引擎1105及以下文字显示异常 求指点3d射线碰撞和UI点击穿透的问题 Laya2.6.0beta 物理引擎 刚体碰撞点位置获取不正确 lh文件内meshSprite添加阴影属性无效 ...
来源: Laya_社区 发布时间: 20251204
...保持在最底部显示? layaair3.1.3版本打出的项目中的text与label组件在vivo小游戏引擎1105及以下文字显示异常 分享,扩展Laya.Text组件实现简单的富文本 如何设置Sprite的宽高和点击区域? 救命!canvas定位后 点击区域偏移,求大大们...
来源: Laya_社区 发布时间: 20241209
... Laya.Handler.create(this, () => { var label=this.owner.getChildByName("time") as Laya.Label; label.text=((Date.now() - nt) / 1000 + "秒"); }) ); 测试环境H5:0.094秒 测试环境native:0.697秒 ...
来源: Laya_社区 发布时间: 20240628
...穿后仍有几率会穿透 layaair3.1.3版本打出的项目中的text与label组件在vivo小游戏引擎1105及以下文字显示异常 text富文本,溢出处理 截断显示省略号 存在异常 3D模型多维材质球渲染异常 将list里的scrollBar设置mouseWheelEnable=false后过一...
来源: Laya_社区 发布时间: 20250224
...13); if (_outHitInfo.distance !== -1) { str = _outHitInfo.sprite3D.name; } label.text = str; phasorSpriter3D.begin(Laya.WebGLContext.LINES, camera); //绘出射线 phasorSpriter3D.line(ray.origin, _color, _linePos, _color); //绘出MeshCollider检测出物体的3角面 for (var i = 0; i ; private _p...
来源: Laya_示例 发布时间: 20251209
...number = 85; private img: Laya.Image; //private text: Laya.Label; constructor(){ super(); this.size(Item.WID, Item.HEI); this.img = new Laya.Image(); //this.text = new Laya.Label(); this.addChild(this.img); //this.addChild(this.text); }...
来源: Laya_社区 发布时间: 20180507
... = new Handler(this, onChange); for(var m:int=0;m<21;m++){ data.push({m_label:"No."+m}); } mDemoUi.m_list.array=data; Laya.stage.addChild(mDemoUi); ... private function onChange():void{ trace("list index= "+mDemoUi.m_list.scrollBar.value); mDemoUi.valueLab.text="滚动条位置value= "+mDemoUi.m_...
来源: Laya_社区 发布时间: 20171016
...后在laya中显示不正常 layaair3.1.3版本打出的项目中的text与label组件在vivo小游戏引擎1105及以下文字显示异常 分享,扩展Laya.Text组件实现简单的富文本 从unity导出的场景透贴和模型烘焙的灯光不显示,请问有知道是什么原因的吗?~...
来源: Laya_社区 发布时间: 20241014
...ctive addChild addChildAt addChildren addComponent addComponentInstance addLabel bubbleEvent callLater clear clearTimer contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce fromParentPoint getBounds getChildAt getChildByName getChildIndex...
来源: Laya3.0_api 发布时间: 20231115