大约有 989 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0083 秒)
Laya_社区(611) Laya2.0_文档(80) Laya3.0_api(67) Laya2.0_api(60) laya_api(56) Laya2.0_示例(41) Laya_示例(37) Laya3.0_文档(37)
...添加到舞台上了,而是显示对象的内部,所以设置mask的pos方法的时候,要注意坐标点是相对于被遮罩对象的而并非舞台 你的问题可能是由于mask的位置超出了遮罩范围导致的,你改下坐标看下 whzooo • 2016-09-24 09:27 演示加载这个 ...
来源: Laya_社区 发布时间: 20160923
...tends ui.dialog.WanFUI { constructor() { super(); this.rotation = 90; this.pos(1060, 280); let panel = new Laya.Panel(); panel.size(638, 527); panel.vScrollBarSkin = "CommDialog/vscroll.png"; this.sp_wanfa.addChild(panel); let t = new Laya.Label(); t.width = 638; t.fontSize = 25; t.wordWrap = true; ...
来源: Laya_社区 发布时间: 20180426
...rialize onAwake onDestroy onDisable onEnable once parentRepaint pivot play pos reCache removeChild removeChildAt removeChildByName removeChildren removeSelf render repaint replaceChild runCallLater scale setChildIndex setGraphics setSelfBounds set_anchorX set_anchorY set_height set_scaleX set_scaleY...
来源: Laya3.0_api 发布时间: 20231115
...rialize onAwake onDestroy onDisable onEnable once parentRepaint pivot play pos reCache removeChild removeChildAt removeChildByName removeChildren removeSelf render repaint replaceChild runCallLater scale setChildIndex setGraphics setSelfBounds set_anchorX set_anchorY set_height set_scaleX set_scaleY...
来源: Laya3.0_api 发布时间: 20231115
...rDeserialize onAwake onDestroy onDisable onEnable once parentRepaint pivot pos reCache removeChild removeChildAt removeChildByName removeChildren removeSelf render repaint replaceChild runCallLater scale setChildIndex setGraphics setSelfBounds set_anchorX set_anchorY set_height set_scaleX set_scaleY...
来源: Laya3.0_api 发布时间: 20231115
... button:Button = new Button(assets[1]); button.name = Dialog.CLOSE; button.pos(DIALOG_WIDTH - CLOSE_BTN_WIDTH - CLOSE_BTN_PADDING, CLOSE_BTN_PADDING); dialog.addChild(button); dialog.dragArea = "0,0," + DIALOG_WIDTH + "," + DIALOG_HEIGHT; dialog.popup(); } } } 2017-07-06 1 0 分享 微博 QZONE 微...
来源: Laya_社区 发布时间: 20170706
... new Skeleton(); //添加到舞台 Laya.stage.addChild(skeleton); skeleton.pos(600,350); //通过加载直接创建动画 skeleton.load("res/DragonBones/rooster/Rooster_Ani.sk"); } } } ``` 运行效果如动图6所示  (动图6)
来源: Laya2.0_文档 发布时间: 20210714
...这个编译器一个bug,不能实现负负得正 Text类中竟然没有pos函数的api~ 关于shader中opengl函数问题 通过laya嵌入iframe 后 原本laya禁止微信浏览器里面的上下滑动,又开始上下滑动了 播放声音出错,求指教 引擎有没有管理或访问系统...
来源: Laya_社区 发布时间: 20190604
...BOX做的练习小游戏http://iuhigi.cn/ 赞同来自: 我习惯用sprite.pos(x,y)去移动 2018-03-06 0 0 分享 微博 QZONE 微信 150*****705 赞同来自: 已解决 2018-03-12 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 150*****...
来源: Laya_社区 发布时间: 20180226
... txt.color = "#ff0000"; txt.fontSize = 30; txt.pos(Laya.stage.width >> 1, Laya.stage.height >> 1); Laya.stage.addChild(txt); Laya.Tween.to(txt, { scaleX: 2, scaleY: 2 }, 5000); 5秒钟把文本放大2倍,感觉是 font...
来源: Laya_社区 发布时间: 20200410