大约有 4 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0027 秒)
...开场景携带参数 * @param {Laya.Handler} complete 打开场景完成回调 * @param {Laya.Handler} progress 打开场景进度回调 */ openScene(url = null, otherHandler = null, closeOther = true, param = null, complete = null, progress = null) { if (!url) return if (otherHandler === null) oth...
来源: Laya_社区 发布时间: 20181124
...load界面的实现原理么? scene场景open或者load失败以后没有回调通知,代码中无法知道是成功还是失败了, 如果是线上玩家那不是直接就卡在那里不动了 iOS 接入微信登录,配置了"Other Linker Flags"中加入"-Objc -all_load"后编译不通过 ...
来源: Laya_社区 发布时间: 20171124
...(这里预加载的是图集资源),第二个参数是加载完成的回调。 你也可以先创建一个UI示例项目看下
来源: Laya_社区 发布时间: 20170904
LayaAir引擎 socket大型项目回调 /** * 创建时间 2017/04/16 */ module PomeloLaya{ export class Pomelo{ static DEBUG:boolean = true; static EVENT_IO_ERROR:string = "io-error"; static EVENT_CLOSE:string = "close"; static EVENT_KICK:string = "onKick"; static EVENT_HEART_BEAT_TIMEOUT:string = ...
来源: Laya_社区 发布时间: 20180119