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

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

121. 如何使用vscode编译laya项目 [ 36%]

...orkSpaceDir + "/tsconfig.json", check: true, //Set to false to avoid doing any diagnostic checks on the code tsconfigOverride:{compilerOptions:{removeComments: true}}, include:/.*.ts/, }),3、compile.js 完整代码如下 // v1.2.2 //获取Node插件和工作路径 [b]let ideModuleDir; let workSpace...

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

122. 2.4,2.5版本U3D导出插件导出模型时抛出代码异常 [ 36%]

...f5831a0ec7b1d63>:0) r.a (UnityEngine.GameObject A_0, i A_1, System.Boolean A_2) (at <52f9fa4ca1c34de5ac5f2d69725a1abf>:0) r.a (UnityEngine.GameObject A_0, i A_1, System.Collections.Generic.List`1[T] A_2) (at <52f9fa4ca1c34de5ac5f2d69725a1abf>:0) r.a (UnityEngine.GameObject A_0, i A_1,...

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

123. LayaAir3D UnityPlugin 使用须知-版本更新-问题解答(最新版本:1.7.16) [ 34%]

...       也就是Unity中包含以下组件的节点:         1. Transform       2. MeshFilter         3. MeshRenderer      4. SkinnedMeshRenderer          5. Animation       6. Animator (新)    7. Terrain                  8. ParticleSystem(使用须知)     ...

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

124. laya.d3.webxr.core.WebXRSessionManager_API3.0 [ 33%]

...ited Externals Only exported Menu Globals "laya/d3/WebXR/core/WebXRSessionManager" WebXRSessionManager Class WebXRSessionManager Manages an XRSession to work with layaAir engine author miner Hierarchy EventDispatcher WebXRSessionManager Index Properties baseReferenceSpace currentFrame currentTimesta...

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

125. LayaAirUnityPlugin 2.4beta IOException: Sharing violation [ 26%]

...ss access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) (at <df7127ba07dc446d9f5831a0ec7b1d63>:0) System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, Sys...

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

126. 【经验分享】如何让ts项目支持装饰器语法,以及自动化发布相关的一些东西 [ 26%]

...法 }, } 但修改完配置编译的时候会报错:This syntax requires an imported helper but module 'tslib' cannot be found 开发群里有大神提供了一种解决办法: 右键 LayaAirIDE.app->显示包内容,定位到 Contents->Resources->app->node_modules->rollup->d...

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

127. LayaAir和原生DOM交互(JavaScript-2D进阶篇(JS)-扩展模块) [ 20%]

...yabox.com/"; this.qrcode.makeCode(url); Laya.stage.once("click",this,clickHandler); this.qrcodeSp = new Laya.Sprite(); Laya.stage.addChild(this.qrcodeSp); function clickHandler(){ var url = this.qrcode._oDrawing._elImage.src;//获取,注意这里是异步的,开发者可以加个延时在获取...

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

128. 3D寻路 · LayaAir3.0文档 · LAYABOX [ 19%]

...aph.grid[1][2]; var result = astar.search(graph, start, end); // result is an array containing the shortest path 1,graph 是A*类中的地形数据类,数据中1表示可以通过的地块,0表示不可以通过的地块,因此这个数据表明了角色的可行走和不可行走节点,...

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

129. LayaAir和原生DOM交互(TypeScript-2D进阶篇(TS)-扩展模块) [ 19%]

...码如下: ```typescript class Main { //二维码对象 private qrcode:any; private qrcodeSp:Laya.Sprite; constructor() { //初始化引擎 Laya.init(600,400); Laya.stage.bgColor = "#ffcccc"; var div:any = Laya.Browser.document.createElement("div"); this.qrcode = new Laya.Browser.window.QRCode(div...

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

130. laya native加载人物模型出错 [ 11%]

...物模型出错 我使用 var that=this; Laya.loader.create("res/3d/baseman01.lh", Laya.Handler.create(this, function(){  var scene3d=new Laya.Scene3D(); that.owner.addChild(scene);  var model=Laya.loader.getRes(window.getPath("res/3d/baseman01.lh")); var player=model.clone(); scene3d.addChild(pla...

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