大约有 976 项符合查询结果, 库内数据总量为 30,779 项。 (搜索耗时: 0.0073 秒)
Laya_社区(598) Laya2.0_文档(80) Laya3.0_api(67) Laya2.0_api(60) laya_api(56) Laya2.0_示例(41) Laya_示例(37) Laya3.0_文档(37)
...,别用 top left 那个是根据边计算位置,不是根据锚点, pos 才是根据锚点。 Laya_Aaron • 2018-05-26 10:57 可以录个视频或者gif 吗,我这里看还是在在中心点。 Zane • 2018-05-26 14:27 @Laya_Aaron:看下面的录屏 yung • 2018-10-25 10:00 其实是以...
来源: Laya_社区 发布时间: 20180525
...n onLoadComplete() { var cb = createComboBox(skin); cb.autoSize = true; cb.pos((Laya.stage.width - cb.width) / 2, 100); cb.autoSize = false; } function createComboBox(skin) { var comboBox = new ComboBox(skin, "item0,item1,item2,item3,item4,item5"); comboBox.labelSize = 30; comboBox.itemSize = 25; co...
来源: Laya2.0_文档 发布时间: 20210714
...ffffff"; var sp : Label = new Label("hello world"); //sp.fontSize = 55; sp.pos(100, 100) ; //sp.color = "#000000"; Laya.stage.addChild(sp); } } } chrome 下查看源代码 <html> <head> <meta charset='utf-8'/> <title>www.layabox.com</title> <meta name='renderer' cont...
来源: Laya_社区 发布时间: 20170711
...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_bottom set_dataSource set_he...
来源: 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
...Closed onDestroy onDisable onEnable onOpened once open 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
...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_bottom set_dataSource set_he...
来源: Laya3.0_api 发布时间: 20231115
...overflow = Text.SCROLL; txt.size(Laya.stage.width, Laya.stage.height); txt.pos(10, 10); txt.fontSize = 30; txt.wordWrap = true; txt.color = "#FF9632"; Laya.stage.addChild(txt); var test:Object = JSON.parse('{"id": 0, "name": "Chen"}'); traceMsg(test['id']); traceMsg(test['name']); var jsonURL:String...
来源: Laya_社区 发布时间: 20180227
...ya.Pool.getItemByCreateFun("deathEffect", this.createEffect, this); effect.pos(this._sp.x, this._sp.y); this._sp.parent.addChild(effect); effect.play(0, false); this.owner.removeSelf(); Laya.Pool.recover("flyCat", this.owner) } } createEffect(): Laya.Animation { let ani: Laya.Animation = new Laya.An...
来源: Laya_社区 发布时间: 20191019
...回调时间 2.2.0beta4,微信上动态合批报错. Text类中竟然没有pos函数的api~ IDE通过.ui自动生成的ui代码报错 导微信小程序报错window.focus is not a function 关于shader中opengl函数问题 laya2 发布微信开放域工程,用微信开发者工具打开报错 问...
来源: Laya_社区 发布时间: 20180505