大约有 83 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0071 秒)
...hrome出现错误: Error processing launch: Error Could not attach to main target 求高人分享使用protobuff框架的游戏demo(TS版本或AS版本的) 版本不匹配! 全局 tsc (2.2.2) != VS Code 的语言服务(2.1.5)。可能出现不一致的编译错误 matter中layasprite怎么改变...
来源: Laya_社区 发布时间: 20190315
... h:相机输出到屏幕的高度。 Depth 深度。绘图顺序。 Target Texture 目标纹理。 ### 使用代码获取导出的摄像机 那么,如果在unity中创建了摄像机并导出,在代码中加载导出文件后,我们怎么去获取摄像机呢?这可以通过场景...
来源: Laya2.0_文档 发布时间: 20210715
...hrome出现错误: Error processing launch: Error Could not attach to main target 预设怎么在代码中使用 ide 2.4 layaair2-cmd 编译报错 Laya mac版的IDE 是没测试就上线了吗? 微信小程序—未找到入口 app.json 文件,或者文件读取失败,请检查后重新编译...
来源: Laya_社区 发布时间: 20200103
...hrome出现错误: Error processing launch: Error Could not attach to main target IDE1.7.8 json图集加载问题 版本不匹配! 全局 tsc (2.2.2) != VS Code 的语言服务(2.1.5)。可能出现不一致的编译错误 关于适配采用showAll后留白部分的颜色问题 问题状态 最新...
来源: Laya_社区 发布时间: 20180712
...Controll extends Laya.Script { @property( { type: Laya.Sprite3D } ) public target: Laya.Sprite3D; private camera: Laya.Camera; public distanceUp: number = 0.5;//相机与目标的竖直高度参数 public distanceAway: number = 10;//相机与目标的水平距离参数 public smooth: number = 2;//...
来源: Laya3.0_文档 发布时间: 20251010
...hrome出现错误: Error processing launch: Error Could not attach to main target 使用了u3D导出来的粒子,不停的显示移除并销毁其克隆对象,统计面板的显存和内存就会显示成负数 laya2的Scene默认是文件模式,不会生成场景类了,此时该如何获得...
来源: Laya_社区 发布时间: 20170831
...his._castType++; this._castType %= 2; switch (this._castType) { case 0: (e.target as Button).label = "释放显存"; this.loadScene(); break; case 1: (e.target as Button).label = "加载场景"; if (this._scene)//_scene不为空表示场景已加载完成 this.garbageCollection(); break; } /** * @pr...
来源: Laya2.0_文档 发布时间: 20210715
...Event):void { _castType++; _castType %= 2; switch (_castType) { case 0: (e.target as Button).label = "释放显存"; loadScene(); break; case 1: (e.target as Button).label = "加载场景"; if (_scene)//_scene不为空表示场景已加载完成 garbageCollection(); break; } /** * @private 销毁场...
来源: Laya2.0_文档 发布时间: 20210715
...his._castType++; this._castType %= 2; switch (this._castType) { case 0: (e.target as Button).label = "释放显存"; this.loadScene(); break; case 1: (e.target as Button).label = "加载场景"; if (this._scene)//_scene不为空表示场景已加载完成 this.garbageCollection(); break; } /** * @pr...
来源: Laya2.0_文档 发布时间: 20210715
...换,Transform3D中还有一些其他常用的方法和属性: lookAt(target: Vector3, up: Vector3, isLocal: boolean = false, isCamera: boolean = true): void:观察目标位置。 localPosition:Vector3:局部位置。 localMatrix:Matrix4x4:局部矩阵。 position:Vector3:世界位置。 ...
来源: Laya3.0_文档 发布时间: 20251010