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

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

821. laya.display.Sprite_API3.0 [ 46%]

...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

822. laya.display.Scene_API3.0 [ 46%]

...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

823. laya.ui.Box_API3.0 [ 46%]

...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

824. JSON文件加载成功后,怎么解析成Object对象 [ 46%]

...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

825. box2d引擎报错问题 [ 46%]

...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

826. laya.timer.clear这个定时器的回调函数到底怎么用啊?模拟器上不报错,真机运行会抱着个错 [ 46%]

...回调时间 2.2.0beta4,微信上动态合批报错. Text类中竟然没有pos函数的api~ IDE通过.ui自动生成的ui代码报错 导微信小程序报错window.focus is not a function 关于shader中opengl函数问题 laya2 发布微信开放域工程,用微信开发者工具打开报错 问...

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

827. laya.ui.Panel_API3.0 [ 46%]

...rDeserialize onAwake onDestroy onDisable onEnable once parentRepaint pivot pos reCache refresh removeChild removeChildAt removeChildByName removeChildren removeSelf render repaint replaceChild runCallLater scale scrollTo setChildIndex setGraphics setSelfBounds set_anchorX set_anchorY set_bottom set_...

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

828. laya.ui.OpenDataContextView_API3.0 [ 46%]

...rDeserialize onAwake onDestroy onDisable onEnable once parentRepaint pivot pos postMsg reCache removeChild removeChildAt removeChildByName removeChildren removeSelf render repaint replaceChild runCallLater scale setChildIndex setGraphics setSelfBounds set_anchorX set_anchorY set_bottom set_dataSourc...

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

829. UI弹窗 · LayaAir3.0文档 · LAYABOX [ 46%]

...= new Laya.Button(this.assets[1]); button.name = Laya.Dialog.CLOSE; button.pos(this.DIALOG_WIDTH - this.CLOSE_BTN_WIDTH - this.CLOSE_BTN_PADDING, this.CLOSE_BTN_PADDING); this.dialog.addChild(button); this.dialog.dragArea = "0,0," + this.DIALOG_WIDTH + "," + this.DIALOG_HEIGHT; this.dialog.show(); }...

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

830. laya.ui.LayoutBox_API3.0 [ 46%]

...rDeserialize onAwake onDestroy onDisable onEnable once parentRepaint pivot pos reCache refresh removeChild removeChildAt removeChildByName removeChildren removeSelf render repaint replaceChild runCallLater scale setChildIndex setGraphics setSelfBounds set_anchorX set_anchorY set_bottom set_dataSourc...

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