大约有 511 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0075 秒)
...alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心点。UIComponent autoSize : Boolean = false 指定...
来源: Laya2.0_api 发布时间: 20190513
...alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心点。UIComponent autoSize : Boolean = false 指定...
来源: Laya2.0_api 发布时间: 20190513
...添加NPC的图片 再取消dialog的弹出效果 因为laya.init 已经设置过宽高 反正dialog超出的部分看不到,即使地图很大也不要紧 然后设置好范围再用startDrag去拖拽 实验了很久,最终才达到目的 后来无意中看到论坛上的某个大神说,单...
来源: Laya_社区 发布时间: 20180524
...编辑模式 空间属性里有个layoutenabled 是否启用相对布局。设置为 true Laya_Aaron • 2018-05-23 17:23 控件属性 苍蝇也是鸟 • 2018-05-23 17:28 @Laya_Aaron:这个是用来控制top,bottom,left,right的吧,默认是开启的。更复杂的适配布局我估计只能在...
来源: Laya_社区 发布时间: 20180523
...持在最底部显示? Tween如何实现无限循环改变alpha? 如何设置Sprite的宽高和点击区域? ui list 里面的元素不能点击两次 【带附件】 使用Laya2.0.0beta5.1 发布官方示例 真机报错 window is not defined 关于遍历产生的sprite的点击事件,急,...
来源: Laya_社区 发布时间: 20171031
...r:HScrollBar; public function HScrollBar_Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/hscroll.png", "resource/ui/hscroll$bar.png", "resource/ui/hscroll$down.png", "resource/ui/hscroll$up.p...
来源: Laya3.0_api 发布时间: 20231115
...alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心点。UIComponent array : Array 列表数据源。...
来源: Laya2.0_api 发布时间: 20190513
...r:VScrollBar; public function VScrollBar_Example() { Laya.init(640, 800);//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/vscroll.png", "resource/ui/vscroll$bar.png", "resource/ui/vscroll$down.png", "resource/...
来源: Laya3.0_api 发布时间: 20231115
...没有?我也遇到类似的问题,我是想在ui初始化加载完成设置View的尺寸进行适配,但是不生效,延迟200ms就可以,我猜也是ui没有加载完成,设置尺寸无效,如果有个可以监听ui初始化加载完成回调的方法就好了== 2019-11-01 0 0 分...
来源: Laya_社区 发布时间: 20170720
...版本的PureMVC框架 分享:打地鼠 AS、JS、TS版本 Demo! 如何设置Sprite的宽高和点击区域? 求指点3d射线碰撞和UI点击穿透的问题 btn 鼠标移动上去默认文本颜色是绿色,我想换成其他颜色,如何操作? 请问2.0的版本开始,我用ts编...
来源: Laya_社区 发布时间: 20170810