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

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

41. 高级应用-寻路导航 [ 88%]

..., 0, 0); this._quaternion = new Laya.Quaternion(); this.index = 0; this.curPathIndex = 0; this.nextPathIndex = 1; this.pointCount = 10; Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.Stat.show(); this.path = new Array(); //预加载所有资源 var...

来源: Laya_示例 发布时间: 20241002

42. 3D寻路 · LayaAir3.0文档 · LAYABOX [ 88%]

...r.search(graph, start, end); // result is an array containing the shortest path 1,graph 是A*类中的地形数据类,数据中1表示可以通过的地块,0表示不可以通过的地块,因此这个数据表明了角色的可行走和不可行走节点,同理复杂的场景地形也可...

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

43. 判断animation是否加载过某个资源 [ 88%]

...ir引擎 判断animation是否加载过某个资源 this.aniTemp.loadAtlas(path),什么判断某个path是否加载过 2017-08-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cuixueying 赞同来自: 没有办...

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

44. layacmd 报错 [ 88%]

...a/.laya', 'clear=true', 'releasemode=normal' ] stdout: type: Linux stderr: path.js:7 throw new TypeError('Path must be a string. Received ' + inspect(path)); ^ TypeError: Path must be a string. Received undefined at assertPath (path.js:7:11) at Object.join (path.js:1211:7) at Function.FileTools.getP...

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

45. 【BUG】加载的url中有错误url时,laya偶现加载complete不回调 [ 88%]

...有重置customParse属性为false。 var res3DArr = [ { url: this.error_PATH }, { url: this.zombie_anim_path1 }, { url: this.zombie_anim_path2 }, { url: this.zombie_anim_path3 }, { url: this.zombie_anim_path4 }, { url: this.zombie_anim_path5 }, ]; Laya.loader.retryNum = 0; Laya.loader.create(res3DA...

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

46. Laya ts版,使用jasmine进行单元测试 [ 87%]

...测试文件。 第一个是__tests__/Functions.test.tsx/// <reference path="../src/Functions.ts" /> import fs = require('fs'); import vm = require('vm'); let path = __dirname + "/../bin/js/Functions.js"; let code = fs.readFileSync(path, {encoding:'utf8'}); vm.runInThisContext(code); describe(...

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

47. unity 带出报错~ArgumentException: Invalid path [ 87%]

unity 带出报错~ArgumentException: Invalid path ArgumentException: Invalid path System.IO.Path.GetDirectoryName (System.String path) (at <599589bf4ce248909b8a14cbe4a2034e>:0) LayaExport.DataManager.saveLightMapFile (JSONObject customProps) (at <460acbcca8964c0cac25035c85643194>:0) La...

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

48. 分享:IDE报错...Configure nextgenas.java, add to $PATH, or set $JAVA_HOME [ 87%]

分享:IDE报错...Configure nextgenas.java, add to $PATH, or set $JAVA_HOME 这个是由于java的版本导致的报错,开发者可以下载下这个地址的java环境,不要使用百度进行下载! http://www.oracle.com/technetw ... .html 2017-04-18 添加评论 免费帖 --> 分享 ...

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

49. load方法加载cdn上面的图片资源的时候直接报了跨域不同源的问题,怎么破? [ 87%]

...跨域不同源的问题,怎么破? Gzdaze.dialogList = [ STATIC_IMG_PATH+'img_dialog-1.png', STATIC_IMG_PATH+'img_dialog-2.png', STATIC_IMG_PATH+'img_dialog-3.png', STATIC_IMG_PATH+'img_dialog-4.png', STATIC_IMG_PATH+'progressBar.png', STATIC_IMG_PATH+'progressBar$bar.png' ]; this.isFirst = tru...

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

50. 已上传demo window["wx"].env.USER_DATA_PATH 下的资源用loader加载不了 [ 87%]

已上传demo window["wx"].env.USER_DATA_PATH 下的资源用loader加载不了 资源文件用 var fileManager = window["wx"].getFileSystemManager();         fileManager.access() 这个接口检查过是存在的 附件 : --> Evolution_test.zip 2019-06-28 添加评论 免费帖 --> 分享 ...

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