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

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

1711. 微信小游戏中加载unity导出的场景报错the .lh file root type must be Scene [ 42%]

..."progress",1);         this.event("complete",(this.data instanceof Array)? [this.data] :this.data);     } 上面这里直接判断失败,走了false 具体见附件。   望解决 附件 : --> WX3D.rar laya3D工程文件.zip laya3D就一个立方体的项目.rar 2018-01-01 添加评...

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

1712. 请问laya有没有类似翻页容器(pageView)的组件? [ 42%]

...this, this.onMouse) } onOpened(param: any) { super.onOpened(param); let imgArray = ; for (let i = 1; i < 7; i++) { imgArray.push(`ui/bg_help_0${i}.png`) } this.list_rule.array = imgArray; } public updateItem(cell: Laya.Box, index: number): void { let img_rule = cell.getChildByName("img_rule") as ...

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

1713. 帮忙看看Texture类getPixels内存泄漏的问题。 [ 42%]

...xelCount:int = 0; /************getPixels内存泄漏*************/ var arr:Array = tex.getPixels(0, 0, tex.width, tex.height); /************getPixels内存泄漏*************/ for(var i:int = 0; i < arr.length; i++) { if(arr > 0) { pixelCount++; } } return pixelCount; } private function toLoca...

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

1714. QQ玩一玩Image无法显示Base64图片 Retry to load: data:image/png;base64, [ 42%]

...么解决? 发布到vivo平台后,龙骨动画无法显示 我用list.array=Array;数据全部插进去数组里了,但是list中没有完全展示数组数据,只展示了其中的图片部分,数组能console出,那个list中的数据也存在,但没渲染出。 为什么有的图片...

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

1715. UI-Button [ 42%]

...= 100; private var xOffset:int; private var yOffset:int; private var skins:Array; public function UI_Button() { // 不支持WebGL时自动切换至Canvas Laya.init(800, 600, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHO...

来源: Laya2.0_示例 发布时间: 20260303

1716. UI-Button [ 42%]

...= 100; private var xOffset:int; private var yOffset:int; private var skins:Array; public function UI_Button() { // 不支持WebGL时自动切换至Canvas Laya.init(800, 600, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHO...

来源: Laya_示例 发布时间: 20260303

1717. 鼠标交互-键盘交互 [ 42%]

...ss Interaction_Keyboard { private var logger:Text; private var keyDownList:Array; public function Interaction_Keyboard() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CE...

来源: Laya2.0_示例 发布时间: 20260303

1718. HScrollBar属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 42%]

...GL; export class UI_ScrollBar { /***水平滚动条资源**/ private skins:Array=["res/ui/hscroll.png", "res/ui/hscroll$bar.png", "res/ui/hscroll$down.png", "res/ui/hscroll$up.png"]; /***提示信息文本框**/ private promptText:Text; /****水平滚动条****/ private hScrollBar:HScrollBar; constr...

来源: Laya2.0_文档 发布时间: 20210715

1719. VScrollBar属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 42%]

...GL; export class UI_ScrollBar { /***垂直滚动条资源**/ private skins:Array=["res/ui/vscroll.png", "res/ui/vscroll$bar.png", "res/ui/vscroll$down.png", "res/ui/vscroll$up.png"]; /***提示信息文本框**/ private promptText:Text; /****垂直滚动条****/ private vScrollBar:VScrollBar; constr...

来源: Laya2.0_文档 发布时间: 20210715

1720. UI-CheckBox [ 42%]

...nst X_OFFSET:int = 100; private const Y_OFFSET:int = 50; private var skins:Array; public function UI_CheckBox() { // 不支持WebGL时自动切换至Canvas Laya.init(800, 600, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_S...

来源: Laya2.0_示例 发布时间: 20260303