• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 82 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0046 秒)

51. laya.display.Scene [ 60%]

...标事件。 EventDispatcher  load(url:String, complete:Handler = null, progress:Handler = null):void[static] 加载场景及场景使用到的资源 Scene loadImage(url:String, complete:Handler = null):Sprite 加载并显示一个图片。相当于加载图片后,设置texture属性 注意:2...

来源: Laya2.0_api 发布时间: 20190513

52. request failed status:0 text: IOS HttpRequest [ 58%]

...533", } alert(JSON.stringify(data)); hr = new HttpRequest(); hr.once(Event.PROGRESS, this, onHttpRequestProgress); hr.once(Event.COMPLETE, this, onHttpRequestComplete); hr.once(Event.ERROR, this, onHttpRequestError); var headers = []; headers.push("Content-Type"); headers.push("application/json"); h...

来源: Laya_社区 发布时间: 20170620

53. 如何在layaair 上使用get方法的xml ,获得节点属性? [ 58%]

...           hr = new HttpRequest();             hr.once(Event.PROGRESS, this, onHttpRequestProgress);             hr.once(Event.COMPLETE, this, onHttpRequestComplete);             hr.once(Event.ERROR, this, onHttpRequestError);             hr.send(NameJosn, nu...

来源: Laya_社区 发布时间: 20160626

54. list中的item类中的button注册事件不响应 是怎么回事呢 ?可以帮帮我解答下吗 [ 56%]

...ic static WID: number = 147; public static HEI: number = 190; private skin_progress_chip:Laya.ProgressBar; private skin_img:Laya.Image; private skin_chipNum:Laya.Text; public skin_btn_use:Laya.Image; private skin_lock:Laya.Image; private skin_inUse:Laya.Image; constructor(){ super(); this.size(Item....

来源: Laya_社区 发布时间: 20180828

55. 微信小游戏分包加载libs/laya.physics3D.js,加载成功但不能使用 [ 55%]

...             }         })          loadTask.onProgressUpdate(res => {             console.log('下载进度', res.progress)             console.log('已经下载的数据长度', res.totalBytesWritten)             console.log('预...

来源: Laya_社区 发布时间: 20190514

56. 使用3D UI · LayaAir3.3 · 引擎文档 · LAYABOX [ 55%]

...图3-1所示。 (图3-1) 在2D预制体中,创建一个进度条(Progress),因为血条有当前血量和总体血量构成,因此Progress正好符合要求。并且血条上面使用Label显示人物的名字。另外注意Prefab的根节点Box的size最好改为2的N次幂,这符...

来源: Laya3.0_文档 发布时间: 20251010

57. 如何能监听到TouchStart和TouchEnd事件 [ 54%]

...值。*/         static LOADED: string;         /** 定义 progress 事件对象的 type 属性值。*/         static PROGRESS: string;         /** 定义 input 事件对象的 type 属性值。*/         static INPUT: string;         /** 定义 render 事...

来源: Laya_社区 发布时间: 20170601

58. 【简单跑酷--JS版】---Lv.2 类之间的引用以及背景滚动实现 [ 53%]

...r.create(this, onLoading, null, false)); //加载进度 function onLoading(progress){ console.log("onLoading: " + progress); } //加载完毕 function onLoaded(){ console.log("onLoaded"); } 我们刷新页面看看有什么效果 如下图所示 我们看到 图片加载了 而且也有我们打印...

来源: Laya_社区 发布时间: 20160722

59. 网络通信 · LayaAir3文档 · LAYABOX [ 51%]

...,错误事件等 /** * 请求进度改变时调度。 * @eventType Event.PROGRESS * */ /*[Event(name = "progress", type = "laya.events.Event")]*/ /** * 请求结束后调度。 * @eventType Event.COMPLETE * */ /*[Event(name = "complete", type = "laya.events.Event")]*/ /** * 请求出错时调度...

来源: Laya3.0_文档 发布时间: 20250104

60. QQ玩一玩闪屏 [ 50%]

...描边会报错 QQ玩一玩中不支持带有美元符号的命名,如:progress$bar.png 问题状态 最新活动: 2018-08-08 10:48 浏览: 1794 关注: 3 人 CrossCrush • 2018-08-31 19:05 没有解决,后面我们决定不用玩一玩的原生接入了,改成H5方式接入。不然还有...

来源: Laya_社区 发布时间: 20180619