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

大约有 976 项符合查询结果, 库内数据总量为 30,779 项。 (搜索耗时: 0.0075 秒)

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

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

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

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

825. 可以帮我测试一下吗? 使用mask的场景,放着就会出现记忆体用完的讯息? [ 46%]

...ya.Sprite(); s.graphics.drawRect(10, 10, 580, 470, "#000000"); s.pos(0,0); console.log("=mask container=>>", s.width, s.height)//打印出是0,0 this.scrollContainer.mask = s;//scrollContainer是一个有宽高的Box,为什么打印出的s的宽高是00,只要设置...

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

826. laya.ui.TipManager_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

827. 给图片节点添加新创建的图片,会报这个错:node._setParent is not a function [ 46%]

....log("imgLove ==="+imgLove); console.log("imgSrc === "+ imgSrc); //imgLove.pos(iRows*this._x + 120 , iColumns*this._y + 320); this.imageBg.addChild(imgLove); } }TypeError: node._setParent is not a function preload.js:55     at Image.__proto.addChild (file:///E:/laya/myLaya/myZootopia/bin/libs/laya...

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

828. laya.ui.ViewStack_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 setItems setSelfBounds set_anchorX set_anchorY set_bottom set_dataSour...

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

829. video在安卓手机上,怎么设置同层播放,还有怎么设置隐藏控制播放按钮 [ 46%]

...钮 // videoElement.autoplay = "autoplay";//自动播放 // videoElement.poster = GoldConsts.imgUrl; //设置在视频播放之前所显示的图片的 URL。 // 阻止IOS视频全屏 videoElement.setAttribute("webkit-playsinline", true); videoElement.setAttribute("playsinline", true); videoElement....

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

830. 分包项目, 加载js时报错 [ 46%]

...   v.graphics.drawCircle(50, 50, 100, "#000000");             v.pos(100, 100);             this.addChild(v);         }     } }   然后, 报错就在Box上: Uncaught TypeError: Cannot read property 'Box' of undefined     at eval (eval at __proto.complete (Main.max...

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