大约有 1,303 项符合查询结果, 库内数据总量为 31,624 项。 (搜索耗时: 0.0062 秒)
Laya_社区(741) Laya2.0_文档(164) Laya3.0_api(108) Laya2.0_示例(81) Laya_示例(70) Laya2.0_api(58) laya_api(54) Laya3.0_文档(27)
...n); Laya.loader.load("res/atlas/com/loading.atlas", Laya.Handler.create(this, this.loadGame)); } private loadGame(): void { var resArray = [ { url: "res/atlas/lobby/create_room.atlas", type: Laya.Loader.ATLAS }, ...
来源: Laya_社区 发布时间: 20181202
...直方向中心线的距离(以像素为单位)。 Component changeHandler : Handler 当颜色发生改变时执行的函数处理器。 默认返回参数color:颜色值字符串。 ColorPicker comXml : Object XML 数据。 Component customRenderEnable : Boolean[write-only] 设置是否...
来源: laya_api 发布时间: 20170929
...UI界面添加到舞台上 Laya.loader.load("./res/atlas/comp.atlas",Laya.Handler.create(this,onLoaded)); function onLoaded(){ //实例化导出的UI类 var efc = new ui.TestPUI(); //添加到舞台 Laya.stage.addChild(efc); } ``` 运行后,按钮被按下时,动画效果如动图11所示: ![1...
来源: Laya2.0_文档 发布时间: 20210715
... this.list.itemRender = Item_List; this.list.renderHandler = new Laya.Handler(this, this.onItemRender); this.list.scrollBar.elasticBackTime = 200; this.list.scrollBar.elasticDistance = 200; } open(): void { for(let i = 0; ...
来源: Laya_社区 发布时间: 20170614
...以避免因对象重用而引发的问题。此外,新系统不再使用Handler,从而杜绝了Handler重用带来的混乱。同时,改进后的Tween系统支持更丰富的选项以及串行和并行任务功能,为开发者提供更灵活强大的工具来实现理想的动画效果。 ...
来源: Laya3.0_文档 发布时间: 20251010
...载资源成功后,执行onLoaded回调方法 Laya.loader.load(skin,Laya.Handler.create(this,onLoaded)); function onLoaded(){ //创建一个Button实例 var btn = new Laya.Button(skin); //将Button添加到舞台上 Laya.stage.addChild(btn); //设置Button相关属性 btn.width = 100; btn.height =...
来源: Laya2.0_文档 发布时间: 20210714
...直方向中心线的距离(以像素为单位)。 Component changeHandler : Handler 当 ProgressBar 实例的 value 属性发生变化时的函数处理器。 默认返回参数value 属性(进度值)。 ProgressBar comXml : Object XML 数据。 Component customRenderEnable : Boolean[w...
来源: laya_api 发布时间: 20170929
...treeData += "</data>";2、为你的tree添加一个渲染函数renderHandler,在渲染函数下根据你的alpha值对每条项进行属性赋值 tree.renderHandler=new Handler(this,onTreeRender); // 返回值e代表的是item项 private function onTreeRender(e):void { //获取每条Item的a...
来源: Laya_社区 发布时间: 20170717
...lock=true的资源。 Returns void Static load load(url: string, complete: Handler): void Defined in laya/d3/animation/AnimationClip.ts:61 加载动画片段。 Parameters url: string 动画片段地址。 complete: Handler 完成回掉。load Returns void Globals "laya/d3/animation/AnimationClip" A...
来源: Laya3.0_api 发布时间: 20231115
...ht rotation scaleX scaleY scene scrollRect selectedIndex selection setIndexHandler skewX skewY stage staticCache texture timer toolTip top transform url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance addItem bubb...
来源: Laya3.0_api 发布时间: 20231115