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

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

1671. UI-RadioGroup [ 45%]

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

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

1672. UI-RadioGroup [ 45%]

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

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

1673. unity 1.7.13.3插件(unity版本5.6.3、2017.1)+1.7.13库,载入lh文件报错 [ 45%]

...ll at AnimationTransform3D.__proto._setLocalRotation (laya.d3.js:17222) at Array.AnimationNode._setLocalRotation (laya.d3.js:340) at Animator.__proto._onAnimationStop (laya.d3.js:22674) at Animator.__proto._updatePlayer (laya.d3.js:22823) at Animator.__proto._updateAnimtionPlayer (laya.d3.js:22608) ...

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

1674. ScrollRect设置会引起其他的UI资源无法正在显示 [ 45%]

...peed:Number = 15; private var _path:Sprite = new Sprite(); private var arr:Array = []; public function TestView() { super(); _path.pivot(0,0); _path.pos(a.x,a.y); this.addChild(_path); _path.rotation = Math.atan2(b.y - a.y, b.x - a.x) / Math.PI * 180; var len:int = Math.floor(GetPathLen()/PATH_LEN)+...

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

1675. List翻页效果 [ 44%]

...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_社区 发布时间: 20171202

1676. List滚动条问题 [ 44%]

... new Laya.Handler(this, UpdateMarketItem); Laya.stage.addChild(list); list.array = that._items;updateitem代码如下: function UpdateMarketItem(cell, index) { // {id:1,name:"10金豆-测试",price:0.01,title:"10金豆-测试",desc:"测试",balance:10,gift:0,imgPath:"res\\common\\BalanceSellDlg\\x...

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

1677. UI-Tree [ 44%]

....scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; var res: Array = [ "../../res/ui/vscroll.png", "../../res/ui/vscroll$bar.png", "../../res/ui/vscroll$down.png", "../../res/ui/vscroll$up.png", "../../res/ui/tree/clip_selectBox.png", "../../res/ui/tree/clip_tree_folder.png", "../../re...

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

1678. UI-Tree [ 44%]

....scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; var res: Array = [ "res/ui/vscroll.png", "res/ui/vscroll$bar.png", "res/ui/vscroll$down.png", "res/ui/vscroll$up.png", "res/ui/tree/clip_selectBox.png", "res/ui/tree/clip_tree_folder.png", "res/ui/tree/clip_tree_arrow.png" ]; Laya.loa...

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

1679. 建议给Tween增加一些功能, 例如无限循环 , 增加一些回调函数 [ 44%]

...放着放着:(内存占用巨大) laya.webgl.js:8156 Uncaught RangeError: Array buffer allocation failed 用着某个粒子: GL_OUT_OF_MEMORY : glShaderSource: too large laya.webgl.js:8055 GL_OUT_OF_MEMORY : glShaderSource: too large laya.webgl.js:7582 Uncaught __proto._compile @ laya.webgl.js:7582_...

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

1680. List翻页效果怎么实现 [ 44%]

...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") a...

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