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

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

251. 组件的复制粘贴无效 [ 61%]

...实现简单的富文本 动画混合无效(版本2.6) 2.0 drawTexture color参数无效 九宫格设置无效。 微信排行榜组件内存泄漏 matter.js mouseconstraint在微信小游戏中无效 关于同为object层,层级设置无效的问题 3d项目-unity添加物理组件 layanative...

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

252. 缓动动画(JavaScript-LayaAir基础篇(JS)-动画基础) [ 60%]

...始化舞台 Laya.init(1334,750,Laya.WebGL); //背景颜色 Laya.stage.bgColor = "#1b2436"; //创建缓动文本 createTween(); function createTween(){ //"LayaBox"字符串总宽度 var w = 800; //文本创建的起始x位置(>>在此使用右移运算符,相当于/2 用>>效率更高) var offsetX...

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

253. 事件响应函数的参数在API中哪里可以查到 [ 60%]

...触发onCollisionEnter事件 event自定义事件的问题 2.0 drawTexture color参数无效 问题状态 最新活动: 2017-10-16 11:41 浏览: 755 关注: 2 人

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

254. laya.resource.NativeContext_API3.0 [ 60%]

...gnLength popRT pushRT restore restoreTransform save saveTransform scale setColorFilter size strokeWord transform transformByMatrix translate useRT wab __init__ set2DRenderConfig Constructors constructor new NativeContext(): NativeContext Defined in laya/resource/NativeContext.ts:89 Returns NativeCon...

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

255. layaAirIDE中如何使用wx等微信基础对象,ide版本1.7.19.1beta [ 60%]

...le: { left: 10, top: 76, width: 200, height: 40, lineHeight: 40, backgroundColor: '#ff0000', color: '#ffffff', textAlign: 'center', fontSize: 16, borderRadius: 4 } }) 这种利用微信接口创建的按钮对象赋值给button 的怎么弄 __JS__('wx').createUserInfoButton({}) 可以这样写 前...

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

256. 开放数据域组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 60%]

...式和布局 let style = { container: { width: 400, height: 200, backgroundColor: "#ffffff", justifyContent: "center", alignItems: "center", }, testText: { color: "#ffffff", width: "100%", height: "100%", lineHeight: 200, fontSize: 40, textAlign: "center", }, // 文字的最终颜色为#ff0000 redTe...

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

257. 输入文本组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 60%]

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

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

258. 运行第一个hello,一直黑屏,没有东西显示出来 如何解决? [ 60%]

....Text(); //设置文本内容 txt.text = "Hello"; //设置文本颜色 txt.color = "#FF0000"; //设置文本字体大小,单位是像素 txt.fontSize = 66; //设置字体描边 txt.stroke = 5;//描边为5像素 txt.strokeColor = "#FFFFFF"; //设置为粗体 txt.bold = true; //设置文本的显示...

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

259. laya.ui.Image_API3.0 [ 60%]

...Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 onInit(); } private function onInit():void { var bg:Image = new Image("resource/ui/bg.png");//创建一个 Image 类的实例对象 bg ,并传入它的皮肤。 bg.x = 100;//...

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

260. ui组件list数据源的疑问 [ 60%]

...dex   要多个属性赋值的话可以写arr.push({label: {text:"item"+i,color:"#FF0000"},clip: i % 9}); 2017-05-03 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 tanglijiong 相关问题 List滑动条会引起单元格上的按钮点...

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