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

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

171. 寻路系统(JavaScript-3D基础(JS)-LayaAir3D之高级应用) [ 65%]

...略 var heightMap = Laya.Loader.getRes("res/threeDimen/scene/TerrainScene/Assets/HeightMap.png"); //初始化MeshTerrainSprite3D this.terrainSprite = MeshTerrainSprite3D.createFromMeshAndHeightMap(meshSprite3D.meshFilter.sharedMesh as Mesh, heightMap, 6.574996471405029, 10.000000953674316); //更新...

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

172. Unity导出报错KeyNotFoundException: The given key was not present in the dictionary. [ 65%]

...port.DataManager.getData () LayaAir3D.exportResource (Boolean isDebug) (at Assets/LayaAir3D/LayaTool/LayaAir3D.cs:435) LayaAir3D.OnGUI () (at Assets/LayaAir3D/LayaTool/LayaAir3D.cs:337) System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, ...

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

173. 寻路导航示例中添加Laya.PathFind组件报异常 [ 65%]

...ya.Texture2D = Laya.Loader.getRes("../../res/threeDimen/scene/TerrainScene/Assets/HeightMap.png") as Laya.Texture2D; //初始化MeshTerrainSprite3D this.terrainSprite = Laya.MeshTerrainSprite3D.createFromMeshAndHeightMap(meshSprite3D.meshFilter.sharedMesh as Laya.Mesh, heightMap, 6.574996471405029, ...

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

174. 寻路系统(TypeScript-3D基础(TS)-LayaAir3D之高级应用) [ 65%]

...略 var heightMap = Laya.Loader.getRes("res/threeDimen/scene/TerrainScene/Assets/HeightMap.png"); //初始化MeshTerrainSprite3D this.terrainSprite = MeshTerrainSprite3D.createFromMeshAndHeightMap(meshSprite3D.meshFilter.sharedMesh as Mesh, heightMap, 6.574996471405029, 10.000000953674316); //更新...

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

175. 寻路系统(ActionScript-3D基础(AS3)-LayaAir3D之高级应用) [ 65%]

...var heightMap:Texture2D = Loader.getRes("res/threeDimen/scene/TerrainScene/Assets/HeightMap.png") as Texture2D; //初始化MeshTerrainSprite3D terrainSprite = MeshTerrainSprite3D.createFromMeshAndHeightMap(meshSprite3D.meshFilter.sharedMesh as Mesh, heightMap, 6.574996471405029, 10.000000953674316);...

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

176. 微信小游戏中访问带空格的文件出错 [ 65%]

...的文件访问会出错http://127.0.0.1:53521/usr/test/LayaScene_Main-UI/Assets/Flat_assets/Crown%201-Crown.lm,用浏览器访问这个路径也会报错,我手工在usr/test/LayaScene_Main-UI中建了一个不带空格的文件,用浏览器可以访问,带空格就不行,是微信的本...

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

177. U3D场景导不出,出现以下问题。求帮忙导出!!!!! [ 64%]

...port.DataManager.getData () LayaAir3D.exportResource (Boolean isDebug) (at Assets/LayaAir3D/LayaTool/LayaAir3D.cs:427) LayaAir3D.OnGUI () (at Assets/LayaAir3D/LayaTool/LayaAir3D.cs:331) System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, ...

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

178. Dialog 第一次打开总是出现在窗口右下角,这是为啥,再打开就正常剧中了? [ 64%]

...ttingDialog extends Laya.Dialog { constructor() { super(); this.loadScene('assets/scenes/dialogs/SettingDialog.scene'); } }{ "x":0, "type":"Dialog", "selectedBox":2, "selecteID":3, "searchKey":"Dialog", "props":{"width":1624,"sceneColor":"#000000","runtime":"script/view/dialogs/SettingDialog.js","he...

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

179. 安卓无论怎么打开都白屏,IOS无问题 [ 64%]

...function里的一句  var tmpitem_t = Laya.loader.getRes('./comp/custom_assets/group0_0.png',);无论我把url改成什么,把这段代码放到哪里,安卓就会白屏,我甚至删掉了一些其他一些Laya.getloader.getRes,还是会白屏,而且不报错,PC端正常,IOS也正常...

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

180. 关于laya图片资源缓存的问题 增量更新文件缓存 [ 63%]

...staticVersion = {} gulp.task('clean', function () { return gulp.src('./src/assets/*', {read: false}).pipe(clean()) }) /** 创建文件hash清单 */ gulp.task('create:hash',['clean'], () => { return gulp.src([ './server/static/**/*.atlas', './server/static/**/*.png', './server/static/**/*.mp3' ]) ...

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