大约有 88 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0069 秒)
...不太熟,比如一般文本框不能监听到舞台的点击事件,当设置mouseEnble=false的时候,点击后又无法弹出输入框。 希望laya能解决这个bug,这不是设计上的问题
来源: Laya_社区 发布时间: 20170228
...stener(Event.ADDED_TO_STAGE, init); IFlash.setSize(960, 640); //2D项目中设置场景尺寸 IFlash.setOrientationEx(1); //是否为横屏模式 IFlash.setBgcolor("#000000"); //背景色 IFlash.showInfo(false); //是否显示帧率 //[IF-JS]value = 100; } } } 代码中使用LayaFlash的宏编译...
来源: Laya_社区 发布时间: 20151218
... //这里是重点,文字的效果我们是通过svg支持的css样式来设置 text-shadow设置的是文字的css样式效果,假如开发者想改变文字的样式,可以修改style即可。 上面是在JavaScript中,用原生的dom元素img来进行显示,那么在游戏中我们想...
来源: Laya3.0_文档 发布时间: 20251010
...nderHandler = new Handler(this, updateItem); Laya.stage.addChild(list); // 设置数据项为对应图片的路径 var data = ; for (var i = 0; i < 100; ++i) { data.push({ lb: i, value: i }); // data.push("../../res/ui/listskins/1.jpg"); // data.push("../../res/ui/listskins/2.jpg"); // data.push(...
来源: Laya_社区 发布时间: 20180312
...rHandler = new Handler(this, updateItem); Laya.stage.addChild(list); // 设置数据项为对应图片的路径 var data = []; for (var i = 0; i < 10; ++i) { data.push("../../res/ui/listskins/1.jpg"); data.push("../../res/ui/listskins/2.jpg"); data.push("../../res/ui/listskins/3.jpg"); data.pu...
来源: Laya_社区 发布时间: 20180724
...lder 4.7无法编译Laya2.6.1创建的3D示例项目 将list里的scrollBar设置mouseWheelEnable=false后过一段时间设置mouseWheelEnable=true;无法滚动 [Laya2.0 3D] 2.0正式版上存在某些骨骼动画无法播放,U3D和1.7.*都没问题 laya3D动画无法播放 问题状态 最新活...
来源: Laya_社区 发布时间: 20200505
...内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件...
来源: laya_api 发布时间: 20170929
...内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件...
来源: laya_api 发布时间: 20170929
...alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心点。UIComponent autoHide : Boolean = false一个...
来源: Laya2.0_api 发布时间: 20190513
...alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心点。UIComponent autoHide : Boolean = false一个...
来源: Laya2.0_api 发布时间: 20190513