大约有 4,102 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0118 秒)
Laya_社区(3323) Laya2.0_文档(296) Laya_示例(141) Laya2.0_示例(117) Laya3.0_文档(116) Laya3.0_api(94) Laya2.0_api(9) laya_api(6)
关于Laya.Timer.once附带参数问题 Laya.timer.nce(5000,this.this.func,args) 中的args我定义了一个局部变量var 但是在等待执行this.func的时候 这个args是一个undefined,请求论坛大神。。。 2018-05-29 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找...
来源: Laya_社区 发布时间: 20180529
destroy 报错 for(let i = 1; i<= this.createCountList[floor] ; i++) { let floor1:Laya.Sprite3D = this.scene.getChildByName("floor"+floor+i) as Laya.Sprite3D; if(floor1) { ...
来源: Laya_社区 发布时间: 20180514
怎么停止当前的定时器? Laya.timer.loop(5000, this, function(){ //我想在这里停止当前这个定时器,我这个方法没有单独定义函数名。 }) 2018-02-01 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提...
来源: Laya_社区 发布时间: 20180201
...lt; sprite.numChildren; i++) { let child = sprite.getChildAt(i) as Sprite; this.findCompents(lists, child, componentType); } } //组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 onAwake(): void { let sprite = this.owner as Laya.Sprite; //sprite.cach...
来源: Laya3.0_文档 发布时间: 20251010
...看到代码 2019-01-09 0 0 分享 微博 QZONE 微信 - 赞同来自: this._list.on(fairygui.Events.SCROLL, this, this.doSpecialEffect); 监听到list发生滚动,进行判断位置和修改item的大小。 2019-06-28 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要...
来源: Laya_社区 发布时间: 20181226
...域是可以动态改变的,你的解决方法有两个,第一个就是this.func.bind(this),第二个就是用new Handler(this,func) 2017-02-08 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 相关问题 两个对象new了一个相同的对...
来源: Laya_社区 发布时间: 20170207
...ATLAS }, ]; Laya.loader.load(atlas, Handler.create(this, this.onLoaded), Handler.create(this, this.onLoading, null, false)); 3、注入JSvar js:any = Laya.loader.getRes("res/atlas/choujiang.js"); Browser.window.eval(js); 4、运行JS var ChouJiang = Browser.window.eval("模...
来源: Laya_社区 发布时间: 20180511
...0); Laya.loader.load("res/atlas/template/Tab栏.json", Laya.Handler.create(this, onAssetLoaded2), null, Loader.ATLAS); function onAssetLoaded2() { Laya.class(MyBoot, "MyBootClass", MyBootPage2UI); UI = new MyBootClass(); Laya.stage.addChild(UI); } function MyBoot() { MyBoot.s...
来源: Laya_社区 发布时间: 20160722
...Gold, {value:__data.gold}, 1000, Laya.Ease.linearNone, Laya.Handler.create(this, function(){ trace('obGold.value', obGold.value) }), 0) tweenGold.update = updateGoldHandler 写法没问题吧!!! 2019-05-20 添加评论 免费帖 --> ...
来源: Laya_社区 发布时间: 20190520
... x:1 ,y:2 ,update:new Laya.Handler(box,function(){ this.transform.position = this.potOld; }) }, ConstValue.animationTime,Laya.Ease.elasticOut,Laya.Handler.create(this, function(){ console.log("complete"); }),ConstValue.animationDelay); 无法直接设置原因...
来源: Laya_社区 发布时间: 20180112