大约有 498 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0049 秒)
Laya_社区(182) Laya3.0_api(109) Laya2.0_文档(72) Laya2.0_api(66) laya_api(46) Laya3.0_文档(17) Laya2.0_示例(4) Laya_示例(2)
... joy.callBackFun = onMyRole.bind(this); 第二个: joy.callBackFun = Handler.create(this,onMyRole); 2017-06-11 1 0 分享 微博 QZONE 微信 170*****650 赞同来自: 已解决 非常感谢 2017-06-12 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先...
来源: Laya_社区 发布时间: 20170610
...this.sList.selectEnable = true;//列表项是否可选 // this.sList.selectHandler = Laya.Handler.create(this,this.onSelect,null,false); this.sList.mouseHandler = new Laya.Handler(this,this.onMouse);//鼠标事件响应 } Laya.class(ServerListView,"ServerListView",_super); var _proto_ = ServerListVi...
来源: Laya_社区 发布时间: 20170805
...模型 Sprite3D.load("res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh", Handler.create(null, function(sp:Sprite3D):void { //将模型加到场景上 var layaMonkey:Sprite3D = scene.addChild(sp) as Sprite3D; })) ``` 编译运行上述代码,运行效果如图6。开发者们同时也可以测试...
来源: Laya2.0_文档 发布时间: 20210715
...n(srcName: string,caller: any){ Laya.loader.load("res/" + srcName,new Laya.Handler(caller,function(arg: any){ if(arg){ RES.groups = arg.groups; RES.resources = arg.resources; RES.getInstance().event(RES.ONLOADEDRESJSON,arg); }else{ RES.getInstance().event(RES.ONLOADERRORRESJSON,arg); } })) } /** * g...
来源: Laya_社区 发布时间: 20161011
...常,但按键回调函数中调用DoFunc报错 我现在得到结论 KeyHandler中的this不能指代__proto对象 要使this指代过去,我记得参数中要加个参数才对,麻烦看下是不是转换问题,还是有这种写法 附件 : --> 2017-01-23 添加评论 免费帖 --> 分...
来源: Laya_社区 发布时间: 20170123
...完成后设置Label。 this.takeOutMc.loadAnimation("ani/TX036.ani",Laya.Handler.create(this,()=>{ //加载完设置label this.takeOutMc.addLabel("shou",26); })); 2018-01-23 0 0 分享 微博 QZONE 微信 ...
来源: Laya_社区 发布时间: 20180123
同时加载多个.js文件 Laya.loader.load("js/daTing.js", Handler.create(this, onAssetLoadedDT), null, Loader.TEXT); 同时加载多个么? 2017-10-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Monica - ...
来源: Laya_社区 发布时间: 20171017
...否是鼠标事件。 EventDispatcher loadAnimation(url:String, loaded:Handler = null, atlas:String = null):Animation 加载并解析由LayaAir IDE制作的动画文件,此文件中可能包含多个动画。默认帧率为在IDE中设计的帧率,如果调用过set interval,则使用此帧...
来源: Laya2.0_api 发布时间: 20190513
监听选择list项会一直触发 v1.7.5this.avatarList.selectHandler = Handler.create(this, this.onSelect, null, false); onSelect(index: number) { console.log("一直触发"); } 2017-05-15 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相...
来源: Laya_社区 发布时间: 20170515
...如果父节点手动设置为false,则不会更改)。 Sprite mouseHandler : Handler 单元格鼠标事件处理器。 默认返回参数(e:Event,index:int)。 Tree mouseThrough : Boolean = false 鼠标事件与此对象的碰撞检测是否可穿透。碰撞检测发生在鼠标事件...
来源: Laya2.0_api 发布时间: 20190513