大约有 4,111 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0103 秒)
Laya_社区(3330) Laya2.0_文档(296) Laya_示例(141) Laya3.0_文档(118) Laya2.0_示例(117) Laya3.0_api(94) Laya2.0_api(9) laya_api(6)
...m<3;m++) { vdata.push({name:{text:'gggg'}}); //压入三个view对象 } this.lister.array = vdata; this.lister.vScrollBarSkin = ""; this.lister.scrollBar.hide = true; 整体UI结构: VIEW -----list --------view -------------label 2017-06-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 ...
来源: Laya_社区 发布时间: 20170626
...时事件不触发 function myRing(x,y,r1,color1,r2,color2) { this.sprite = new Laya.Sprite(); this.sprite.on('mousedown', this, on_down); this.sprite.graphics.drawCircle(x, y, r2, color2, color2, 2); this.sprite.graphics.drawCircle(x, y, r1, color1, color1, 0); ...
来源: Laya_社区 发布时间: 20161221
... __getset(0,__proto,'visible',function(){ return Laya.superGet(SwatAniUI,this,'visible'); },function(value){ Laya.superSet(SwatAniUI,this,'visible',value); if (value) this._mcAni.removeFromParent(); }); //----Laya.superSet,没有这个方法吧? 1.7之前的转换 __getset(0,__proto,'visible'...
来源: Laya_社区 发布时间: 20180227
... 0 分享 微博 QZONE 微信 Laya_Fred 赞同来自: 您好,在初始化this.initPos = this.rabbit.transform.postion;的时候,实际长拿到的是rabbit.transform.postion的引用,所以在修改rabbit.transform.position之后,打印的this.initPos也会同步变化;要解决这个问...
来源: Laya_社区 发布时间: 20230404
...原因呢 doMsg:function(){ if(this.msgs.length == 0 || !this.workDone){ return; } var data = this.msgs.shift(); ...
来源: Laya_社区 发布时间: 20180410
...域, 要清理的定时器监回调方法(looppp)) Laya.timer.loop(100,this,looppp); 清理定时器是支持的哦!你看看你的清理是不是导致了你的代码错误! 2018-05-08 0 2 分享 微博 QZONE 微信 bbh 赞同来自: 模拟器上都没问题,就手机I上报了个错误 ...
来源: Laya_社区 发布时间: 20180505
...都存在: removeChildren(beginIndex = 0, endIndex = 0x7fffffff) { if (this._children && this._children.length > 0) { var childs = this._children; if (beginIndex === 0 && endIndex >= childs.length - 1) { var arr = childs; this._children = Node.ARRAY_EMPTY; } else { arr = chil...
来源: Laya_社区 发布时间: 20201103
...28 关注: 2 人 Y_Yao • 2017-05-16 10:26 function daoju() { daoju.super(this); this.Tab_ZM.selectHandler = new Laya.Handler(this, onSelect); } function onSelect(index) { console.log("当前选择的标签页索引为:" + index);); this.Tab_ZM.on(Event.CLICK,this,onDaoju(index)); } 想...
来源: Laya_社区 发布时间: 20170516
...资源版本控制 ResourceVersion.enable("version.json", Handler.create(this, beginLoad), ResourceVersion.FILENAME_VERSION); } private function beginLoad():void { //加载引擎需要的资源 // Laya.l...
来源: Laya_社区 发布时间: 20180828
...end',list,scrollBarHandler) function scrollBarHandler(){ if(this.scrollBar.value == this.scrollBar.max){ var that = this; setTimeout(function(){ that.addItem("../../res/ui/listskins/5.jpg"); ...
来源: Laya_社区 发布时间: 20170912