大约有 2,802 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0076 秒)
Laya2.0导入protobufjs第三方库,报错找不到文件 Laya2.0 在Main.ts里:import protoAll = require("../libs/protoAll"); var pCls = protoAll.com.bee.protobuf.ClimbingTowerInfoProto; var p: protoAll.com.bee.protobuf.ClimbingTowerInfoProto = pCls.create(); p.curId = 10; p.isSecondPass = t...
来源: Laya_社区 发布时间: 20190227
...动chrome出现错误: Error processing launch: Error Could not attach to main target 如何设置Sprite的宽高和点击区域? Laya2.6.0beta 物理引擎 刚体碰撞点位置获取不正确 版本不匹配! 全局 tsc (2.2.2) != VS Code 的语言服务(2.1.5)。可能出现不一致的编译...
来源: Laya_社区 发布时间: 20201127
...置-脚本编译-启动脚本 启动脚本代码: export async function main() { console.log("Hello LayaAir!"); Laya.loader.load("resources/BitmapFont.fnt", Laya.Loader.FONT).then((res) => { Laya.Scene.open(Laya.PlayerConfig.startupScene); //可以设置场景路径 ...
来源: Laya_社区 发布时间: 20250910
...动chrome出现错误: Error processing launch: Error Could not attach to main target 切换场景编辑器时 Laya3D init error must support webGl Unity导出有光照贴图时,出现错误:ArgumentException: Invalid path 加载龙骨动画出报错Uncaught getUint16 error - Out of bounds unity...
来源: Laya_社区 发布时间: 20190304
...ExampleShader uniformMap : { u_Color : {type: Color, default:[1,1,1,1]}, u_MainTex : {type: Texture, default: "white"}, u_SampleTexcoord : {type: Vector2, default:[1,1]}, u_LightDir : {type: Vector3, default:[1,1,1]}, u_vecPos : {type:Vector4, default:[1,1,1,1]}, u_isWebGL2 : {type: bool, default: t...
来源: Laya3.0_文档 发布时间: 20251010
...动chrome出现错误: Error processing launch: Error Could not attach to main target 微信小游戏如何使用ttf字体? iphone自带浏览器页面怎么锁定 谷歌浏览器播放mp3出现The AudioContext was not allowed to start. 图集打包找不到图集文件 版本不匹配! 全局 tsc...
来源: Laya_社区 发布时间: 20190225
...动chrome出现错误: Error processing launch: Error Could not attach to main target 游戏运行在chrome里面 听不见声音 IOS系统内嵌H5游戏,退到后台,等几秒返回音乐音效全无 分享:适配LayaAir版本的PureMVC框架 分享:打地鼠 AS、JS、TS版本 Demo! 问...
来源: Laya_社区 发布时间: 20210305
.../GameProject/DestructionGameObject_3D/bin/libs/laya.d3.js:31108:67) at new Main (file:///F:/GameItem/SummonHamme/GameProject/DestructionGameObject_3D/bin/js/bundle.js:428:24) at file:///F:/GameItem/SummonHamme/GameProject/DestructionGameObject_3D/bin/js/bundle.js:454:5 at file:///F:/GameItem/SummonH...
来源: Laya_社区 发布时间: 20191019
...动chrome出现错误: Error processing launch: Error Could not attach to main target IOS系统内嵌H5游戏,退到后台,等几秒返回音乐音效全无 Texture图片能否进行翻转? 救命!canvas定位后 点击区域偏移,求大大们解答 谷歌浏览器播放mp3出现The Audio...
来源: Laya_社区 发布时间: 20180810
... Shader3D Start { name:Sprite2DTextureShader, shaderType:2, uniformMap:{ u_MainTex : {type: Texture2D, default: "white"}, u_SampleTexcoord : {type: Vector2, default:[1,1]}, u_Color : {type:Vector4, default:[1,1,1,1]}, u_spend : {type:Float, default:1.0}, u_defaultMat : {type:Matrix4x4, default:[ 1,0...
来源: Laya3.0_文档 发布时间: 20251010