大约有 5 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0050 秒)
... Laya.stage.on(Laya.Event.MOUSE_UP, this, function() { this.index = 0; //获取每次生成路径 this.getGridIndex(this.path[this.curPathIndex % this.pointCount].x, this.path[this.curPathIndex++ % this.pointCount].z, this.startPoint); this.getGridIndex(this.path[this.nextPathIndex % this.pointCount...
来源: Laya2.0_文档 发布时间: 20210714
... Laya.stage.on(Laya.Event.MOUSE_UP, this, function() { this.index = 0; //获取每次生成路径 this.getGridIndex(this.path[this.curPathIndex % this.pointCount].x, this.path[this.curPathIndex++ % this.pointCount].z, this.startPoint); this.getGridIndex(this.path[this.nextPathIndex % this.pointCount...
来源: Laya2.0_文档 发布时间: 20210715
...抬起 Laya.stage.on(Event.MOUSE_UP, this, function():void { index = 0; //获取每次生成路径 getGridIndex(path[curPathIndex % pointCount].x, path[curPathIndex++ % pointCount].z, startPoint); getGridIndex(path[nextPathIndex % pointCount].x,path[nextPathIndex++ % pointCount].z, endPoint); //开...
来源: Laya2.0_文档 发布时间: 20210714
...中返回的完整场景scene添加到舞台 Laya.stage.addChild(scene); //获取摄像机 var camera = scene.getChildByName("Main Camera"); /** ** 省略其它代码若干,可前往Layabox官网示例或相关文档中查看 */ })); ``` ##### 5.2.2 预设的加载与使用(.lh) 有一些模型或...
来源: Laya2.0_文档 发布时间: 20210714
...进制文件filetable.bin。LayaPlayer在启动的时候,会从服务器获取这个文件(如果需要的话)来确定需要更新什么文件。 layadcc 还可以用来把生成资源包,用来把资源打包到App中。 ## LayaPlayer资源包的类型 目前的资源打包方案有三种...
来源: Laya2.0_文档 发布时间: 20210714