大约有 9 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0051 秒)
...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
...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
...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
...* API里默认最大可设置300秒,如果不设置,默认是10秒。 */ start(data: any = { duration: 60 }): void { //判断是否为字节小游戏环境 if (Browser.onTTMiniGame && this._recorder) { //开始录屏,设置录屏的时间长度 this._recorder.start({ duration: data.duration }); ...
来源: Laya2.0_文档 发布时间: 20210715
...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
...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
...持续时间) | 支持 | | Looping(是否循环播放) | 支持 | | Start Delay(延迟多久开始) | 支持(包括:Constant固定值、Random between Two Constant随机在两个常量之间) | | Start Lifetime(生命周期) | 部分支持(包括:Constant 固定值、Random b...
来源: Laya2.0_文档 发布时间: 20210714
...个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
...可以查阅gulp官方文档: > > https://www.gulpjs.com.cn/docs/getting-started/watching-files/ 保存好`gulpfile.js`这个gulp任务脚本后,效果如下图所示。  然后,我们直接在终端命令行下,直接输入`gulp compile`即可执行名称为compile的gulp...
来源: Laya2.0_文档 发布时间: 20210715