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

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

41. Laya.loader加载BUG [ 82%]

...y yeyq, 检查是否正在下载,避免网页reload         this.event("progress",0);          var type=this._type;         if (type=="plfb"){             this.parsePLFBData(data);             this.complete(data);         }else if (type=="pl...

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

42. 网络请求添加headers后 post数据错误 [ 82%]

...ndler = callback; // this.errcallback = errcallback; //this.http.once(Laya.Event.PROGRESS, this, this.onHttpRequestProgress); this.http.once(Laya.Event.COMPLETE, this, this.onHttpRequestComplete); this.http.once(Laya.Event.ERROR, this, this.onHttpRequestError); this.http.send(url, 'chapterid=7125', ...

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

43. laya.display.Node_API3.0 [ 82%]

...表中的显示对象。Node 对象可以有子显示对象。 Hierarchy EventDispatcher Node Sprite Sprite3D Index Constructors constructor Properties _extra _scene _url name tag Accessors active activeInHierarchy components destroyed displayedInStage hideFlags is3D numChildren parent scene timer u...

来源: Laya3.0_api 发布时间: 20231115

44. HTTP通信 · LayaAir3.4 · 引擎文档 · LAYABOX [ 82%]

...逻辑处理。 2.1 支持的事件类型 LayaAir中的HttpRequest继承自EventDispatcher,因此支持多种事件类型,用于HTTP请求后的响应逻辑,常用的事件有: Event.PROGRESS:用于跟踪 HTTP 请求的上传和下载进度,例如文件下载时,值为1时表示已完...

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

45. socket.sent [ 82%]

...接 this.socket.connectByUrl("ws://localhost:8899"); this.socket.on(Laya.Event.OPEN, this, this.openHandler); this.socket.on(Laya.Event.MESSAGE, this, this.receiveHandler); this.socket.on(Laya.Event.CLOSE, this, this.closeHandler); this.socket.on(Laya.Event.ERROR, this, this.errorHandler); } private...

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

46. Sprite用graphics绘制图形后,mouse_over触发scale显示有问题 [ 82%]

...= this._objectInfo.templateInfo.height; this.addChild(this._body); this.on(Event.MOUSE_OVER, this, this.__onMouseOverHole); this.on(Event.MOUSE_OUT, this, this.__onMouseOutHole); } this.pos(this._objectInfo.templateInfo.x, this._objectInfo.templateInfo.y); } private __onMouseOverHole(event:Event):vo...

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

47. TypeError: Failed to execute 'dispatchEvent' on 'EventTarget': parameter 1 is not of type 'Event'. [ 82%]

TypeError: Failed to execute 'dispatchEvent' on 'EventTarget': parameter 1 is not of type 'Event'. 按照官方实例骨骼动画里的多纹理写的代码。 一运行就报这个错误   附件 : --> demo.zip 2018-03-05 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结...

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

48. [LayaAirIDE3]【插件开发】配置方式可以生成非常复杂的界面的部分疑惑 [ 82%]

...buttons", inspector: "Buttons", options: { buttons: [ { caption: "取消", event: "click_cancel_gen" }, { caption: "生成", event: "click_start_gen" } ] } } ] } ]); Editor.extensionManager.createSettings("SplitAtlasSetting", "project"); } } class SplitAtlasMenu { @IEditor.menu("App/私人/图集分...

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

49. [LayaAirIDE3]xcode切入切出声音不播放 [ 81%]

...切入切出,导致背景声音不播放问题。  Laya.stage.on(Laya.Event.BLUR, this, this.onBlur); Laya.stage.on(Laya.Event.FOCUS, this, this.onFocus);  private onBlur() {         // 暂停所有需要停止的逻辑         console.log("onBlur");         SoundManager.Instance.pau...

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

50. 子容器的事件问题 [ 81%]

...wTest(); //testUI.addChildAt(vhvt, 0); testUI.addChild(vhvt); vhvt.on(laya.events.Event.CLICK, this, (event: Laya.Event) => { console.log("为什么这里不进来"); }); } /**  * ViewHeadViewTest  */ class ViewHeadViewTest extends Laya.Sprite {     constructor() {         super();     ...

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