大约有 245 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0059 秒)
Laya_社区(134) Laya2.0_文档(68) Laya3.0_api(22) Laya3.0_文档(14) Laya2.0_示例(3) laya_api(2) Laya2.0_api(2)
...Geolocation.enableHighAccuracy = true; Laya.Geolocation.watchPosition(Laya.Handler.create(this, this.updatePosition), Laya.Handler.create(this, this.onError)); // 绑定convertToBaiduCoord作用域 this.convertToBaiduCoord = this.convertToBaiduCoord.bind(this); } } new WatchPosition(); ``` 由...
来源: Laya2.0_文档 发布时间: 20210714
...le.log("url: " + url); if (Laya.Browser.onMiniGame) { var args = {url:url, handler:null}; var handler = Laya.Handler.create(this, this.OnDownloadFileInWxOk, [args], false); args.handler = handler; Laya.MiniAdpter.downLoadFile(url, null, handler); } else { this.DoLoadData(url); } } protected DoLoadDa...
来源: Laya_社区 发布时间: 20180604
...Geolocation.enableHighAccuracy = true; Laya.Geolocation.watchPosition(Laya.Handler.create(this, this.updatePosition), Laya.Handler.create(this, this.onError)); // 绑定convertToBaiduCoord作用域 this.convertToBaiduCoord = this.convertToBaiduCoord.bind(this); } } 由于本例不需要使用LayaAir...
来源: Laya3.0_文档 发布时间: 20251010
创建树Tree 该怎么回调mouseHandler 形参该传什么 附件 : --> 2017-06-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cuixueying 赞同来自: z298959 tree.mouseHandler=new Handler(this,onTreeHandle...
来源: Laya_社区 发布时间: 20170626
...前layaair,网页都是正常,构建xcode项目之后连接不上 Laya.Handler.create 加载图片回调参数问题 问题状态 最新活动: 2018-04-17 09:57 浏览: 1144 关注: 3 人
来源: Laya_社区 发布时间: 20180412
.../ad.union.api/e285dd263aee2e8f7b302fa8d139de4c' Laya.loader.load(url, Laya.Handler.create(this, () => { let picTemp = Laya.Loader.getRes(url); console.log(picTemp.width) // undefined let nodee = new Laya.Sprite() nodee.texture = picTemp nodee.width = 500 nodee.height = 250 nodee.x = 100 nodee.y =...
来源: Laya_社区 发布时间: 20211026
...ion;Laya.Tween.to(box.potOld,{ 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.animation...
来源: Laya_社区 发布时间: 20180112
...: 3 人 cuixueying • 2017-04-07 16:38 第6个参数不是function,是handler,用new Handler或Handler.create的方式去写!
来源: Laya_社区 发布时间: 20170406
...ge { import laya.net.Loader; import laya.ui.ProgressBar; import laya.utils.Handler; public class LoadingDemo { private var progressBar:ProgressBar; public function LoadingDemo() { Laya.init(550,400); //预加载loading条资源 var pro1:Object={url:"loads/progressBar.png",type:Loader.IMAGE}; var pro...
来源: Laya_社区 发布时间: 20160509
...击的某个物体 Laya.loader.create 进度回调函数执行两次 Laya.Handler.create 加载图片回调参数问题 问题状态 最新活动: 2017-10-24 16:10 浏览: 779 关注: 2 人
来源: Laya_社区 发布时间: 20171024