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

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

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

...is.pointCount].x, this.path[this.curPathIndex++ % this.pointCount].z, this.startPoint); this.getGridIndex(this.path[this.nextPathIndex % this.pointCount].x,this.path[this.nextPathIndex++ % this.pointCount].z, this.endPoint); //开始于结束点数据 var start = this.graph.grid[this.startPoint.x][t...

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

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

...is.pointCount].x, this.path[this.curPathIndex++ % this.pointCount].z, this.startPoint); this.getGridIndex(this.path[this.nextPathIndex % this.pointCount].x,this.path[this.nextPathIndex++ % this.pointCount].z, this.endPoint); //开始于结束点数据 var start = this.graph.grid[this.startPoint.x][t...

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

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

...ex(path[curPathIndex % pointCount].x, path[curPathIndex++ % pointCount].z, startPoint); getGridIndex(path[nextPathIndex % pointCount].x,path[nextPathIndex++ % pointCount].z, endPoint); //开始于结束点数据 var start:Object = graph.grid[startPoint.x][startPoint.z]; var end:Object = graph.grid[e...

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

4. 对接上架字节跳动小游戏技术指南(TypeScript-小游戏适配文档-字节跳动小游戏) [ 81%]

...* API里默认最大可设置300秒,如果不设置,默认是10秒。 */ start(data: any = { duration: 60 }): void { //判断是否为字节小游戏环境 if (Browser.onTTMiniGame && this._recorder) { //开始录屏,设置录屏的时间长度 this._recorder.start({ duration: data.duration }); ...

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

5. LayaAir和原生DOM交互(ActionScript-2D进阶篇(AS3)-扩展模块) [ 67%]

...js中的对象。 var client:Object = new Browser.window.Demo1(); client.start(); } script.onerror = function():void { //加载错误函数 } Browser.document.body.appendChild(script); } } } ``` 然后在新建一个js文件,简单代码如下: ```javascript var Demo1=(function(){ function Clien...

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

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

...w一个js中的对象 var client = new Laya.Browser.window.Demo1(); client.start(); } script.onerror = function(){ //加载错误函数 } Laya.Browser.document.body.appendChild(script); ``` 然后再新建一个js文件,简单代码如下: ```typescript var Demo1 = (function () { function Client...

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

7. Unity插件使用说明(TypeScript-3D基础(TS)-LayaAir3D之3D场景可视化编辑) [ 57%]

...持续时间) | 支持 | | Looping(是否循环播放) | 支持 | | Start Delay(延迟多久开始) | 支持(包括:Constant固定值、Random between Two Constant随机在两个常量之间) | | Start Lifetime(生命周期) | 部分支持(包括:Constant 固定值、Random b...

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

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

...个js中的对象 var client:any = new Laya.Browser.window.Demo1(); client.start(); } script.onerror = function():void{ //加载错误函数 } Laya.Browser.document.body.appendChild(script); } } new Main; ``` 然后再新建一个js文件,简单代码如下: ```typescript var Demo1 = (function (...

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

9. VSCode高效开发工作流配置指南(TypeScript-IDE篇(TS)-代码模式基础) [ 25%]

...可以查阅gulp官方文档: > > https://www.gulpjs.com.cn/docs/getting-started/watching-files/ 保存好`gulpfile.js`这个gulp任务脚本后,效果如下图所示。 ![图](img/21.png) 然后,我们直接在终端命令行下,直接输入`gulp compile`即可执行名称为compile的gulp...

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