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

大约有 57 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0068 秒)

31. 微信小游戏加载资源问题 [ 56%]

...as.height / Laya.Browser.pixelRatio); } static wxinputFocus(e) { var _inputTarget = Laya.Input['inputElement'].target; if (_inputTarget && !_inputTarget.editable) { return; } MiniAdpter.window.wx.offKeyboardConfirm(); MiniAdpter.window.wx.offKeyboardInput(); MiniAdpter.window.wx.showKeyboard...

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

32. 批量销毁释放内存(JavaScript-3D基础(JS)-LayaAir3D的内存管理) [ 56%]

...his._castType++; this._castType %= 2; switch (this._castType) { case 0: (e.target as Button).label = "释放显存"; this.loadScene(); break; case 1: (e.target as Button).label = "加载场景"; if (this._scene)//_scene不为空表示场景已加载完成 this.garbageCollection(); break; } /** * @pr...

来源: Laya2.0_文档 发布时间: 20210715

33. 批量销毁释放内存(ActionScript-3D基础(AS3)-LayaAir3D的内存管理) [ 55%]

...Event):void { _castType++; _castType %= 2; switch (_castType) { case 0: (e.target as Button).label = "释放显存"; loadScene(); break; case 1: (e.target as Button).label = "加载场景"; if (_scene)//_scene不为空表示场景已加载完成 garbageCollection(); break; } /** * @private 销毁场...

来源: Laya2.0_文档 发布时间: 20210715

34. 批量销毁释放内存(TypeScript-3D基础(TS)-LayaAir3D的内存管理) [ 55%]

...his._castType++; this._castType %= 2; switch (this._castType) { case 0: (e.target as Button).label = "释放显存"; this.loadScene(); break; case 1: (e.target as Button).label = "加载场景"; if (this._scene)//_scene不为空表示场景已加载完成 this.garbageCollection(); break; } /** * @pr...

来源: Laya2.0_文档 发布时间: 20210715

35. unity 通过laya 导出 灵异事件 [ 53%]

...reInfo culture) (at <7d97106330684add86d080ecf65bfe69>:0) Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation. System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.O...

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

36. UI运行时 · LayaAir3.0文档 · LAYABOX [ 53%]

...s.searchButton(child); } } } //处理按钮缩放事件 onButtonScaleEvent(target: Laya.Button) { target.on(Laya.Event.MOUSE_DOWN, this, this._onScaleBtnDown); target.on(Laya.Event.MOUSE_UP, this, this._onScaleBtnOut); } //按钮放大 _onScaleBtnDown(e: Laya.Event) { console.log("开始缩放"); e....

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

37. dialog的lock属性没出现 [ 53%]

...hrome出现错误: Error processing launch: Error Could not attach to main target 版本不匹配! 全局 tsc (2.2.2) != VS Code 的语言服务(2.1.5)。可能出现不一致的编译错误 谷歌浏览器播放mp3出现The AudioContext was not allowed to start. [分享]Dialog 点击边缘不关闭...

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

38. 构建apk后,java报错 [ 43%]

...m.layabox.dotJourney isa=arm64 dexoptFlags=boot_complete,debuggable,public target-filter=quicken oatDir=/data/app/com.layabox.dotJourney-Jidn-sdT4XxjBURfWPBYyA==/oat sharedLibraries=PCL[] 2018-11-26 18:35:09.365 1505-1523/? D/CompatibilityInfo: mCompatibilityFlags - 14 2018-11-26 18:35:09.366 1505-1...

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

39. 如何使用vscode编译laya项目 [ 42%]

...hrome出现错误: Error processing launch: Error Could not attach to main target Laya中的宏编译要怎么用啊 版本不匹配! 全局 tsc (2.2.2) != VS Code 的语言服务(2.1.5)。可能出现不一致的编译错误 关于Laya实现Matter.js官方案例凹多边形的问题 用了第三方...

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

40. laya.ui.TextArea [ 42%]

...,canvas模式下进行依然是画布缓存,webgl模式下使用renderTarget缓存。 webgl下renderTarget缓存模式缺点:会额外创建renderTarget对象,增加内存开销,缓存面积有最大2048限制,不断重绘时会增加CPU开销。优点:大幅减少drawcall,渲染性...

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