大约有 266 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0039 秒)
tween complete 报错 以及如何判断对象正在缓动中 代码是这样的 Laya.Tween.complete().to(men, { x : x , y : y }, menMotionTime, Laya.Ease.quadInOut, null, 0); 我想判断对象是否正在缓动,如果是则complete立即完成没有完成的动画继续当前的 附件 : --> 20...
来源: Laya_社区 发布时间: 20171122
...题,在微信上是ok的,不过在vivo上Laya.loader.create一直没有complete回调,也没有报错,有人遇到过么? 快应用平台版本号:1060 2020-04-09 添加评论 已悬赏10元 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提...
来源: Laya_社区 发布时间: 20200409
...Request(); xhr.http.timeout = 10000;//设置超时时间; xhr.once(Event.COMPLETE,this,completeHandler); xhr.once(Event.ERROR,this,errorHandler); xhr.on(Event.PROGRESS,this,processHandler); xhr.send("https://www.baidu.com/","","get","text"); function processHandler(data){ console.log(data); consol...
来源: Laya_社区 发布时间: 20180830
Laya.Scene.open 中的complete参数如何取得场景实例? 我看了Laya.Scene.open中的参数: complete:Handler (default = null) — 打开完成回调,返回场景实例(可选) 那么我要怎么从这个handler里边得到打开场景实例呢: 以下是我写的typescript代...
来源: Laya_社区 发布时间: 20181206
...ay = null):void[static] 异步回调 TerrainHeightData load(url:String, complete:Handler, widht:int, height:int, bitType:int, value:Number):void[static] 加载地形高度模板,注意:不缓存。 TerrainHeightDataProperty Detail_bitTypepropertypublic var _bitType:int_heightproperty public var ...
来源: Laya2.0_api 发布时间: 20190513
...ram props 变化的属性列表,比如{x:100,y:20,ease:Ease.backOut,complete:Handler.create(this,onComplete),update:new Handler(this,onComplete)}。 * @param duration 花费的时间,单位毫秒。 * @param ease 缓动类型,默认为匀速运...
来源: Laya_社区 发布时间: 20180621
...on",type:Loader.JSON,size:50,priority:1}]。 * @param complete 加载结束回调。根据url类型不同分为2种情况:1. url为String类型,也就是单个资源地址,如果加载成功,则回调参数值为加载完成的资源,否则为null;2. url为数...
来源: Laya_社区 发布时间: 20180418
...ayaScene_yueren/yueren.ls", Laya.Handler.create(this, function () { //complete func console.log("Scene loaded"); isLoaded = true; }), Laya.Handler.create(this, function (pro) { if (debug) console.log("Loading progresss : " + pro); }, null, false), Laya.Scene); Monica • 201...
来源: Laya_社区 发布时间: 20180321
...提示 Uncaught TypeError: handler.run is not a function at Tween.__proto.complete (laya.core.js:9423) 9423 :handler && handler.run(); 你们自己试试吧。。为啥要。&&run() 2017-11-11 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀...
来源: Laya_社区 发布时间: 20171111
...on",type:Loader.JSON,size:50,priority:1}]。 * @param complete 加载结束回调。根据url类型不同分为2种情况:1. url为String类型,也就是单个资源地址,如果加载成功,则回调参数值为加载完成的资源,否则为null;2. url为数...
来源: Laya_社区 发布时间: 20180502