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

大约有 2,802 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0076 秒)

2711. Laya2.0导入protobufjs第三方库,报错找不到文件 [ 43%]

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

2712. 3D网格添加刚体后设置欧拉角出现位置错误 [ 43%]

...动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

2713. [LayaAirIDE3]应该如何定义@property才能像GTextField一样加载字体? [ 42%]

...置-脚本编译-启动脚本 启动脚本代码: 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

2714. GL ERROR :GL_INVALID_OPERATION : glDrawElements: [ 42%]

...动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

2715. 自定义3D Shader · LayaAir3.4 · 引擎文档 · LAYABOX [ 42%]

...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

2716. 使用Laya.loader.load加载Laya.Loader.FONT位图字体文件时就会出现无限循环加载,一直到浏览器奔溃 [ 42%]

...动chrome出现错误: Error processing launch: Error Could not attach to main target 微信小游戏如何使用ttf字体? iphone自带浏览器页面怎么锁定 谷歌浏览器播放mp3出现The AudioContext was not allowed to start. 图集打包找不到图集文件 版本不匹配! 全局 tsc...

来源: Laya_社区 发布时间: 20190225

2717. laya2.8.0IDE工具中打安卓包(LayaNative版本相同),无法加载游戏启动页 [ 42%]

...动chrome出现错误: Error processing launch: Error Could not attach to main target 游戏运行在chrome里面 听不见声音 IOS系统内嵌H5游戏,退到后台,等几秒返回音乐音效全无 分享:适配LayaAir版本的PureMVC框架 分享:打地鼠 AS、JS、TS版本 Demo! 问...

来源: Laya_社区 发布时间: 20210305

2718. laya 3D碰撞器与 Unity 不一致问题 [ 42%]

.../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

2719. 按钮失效,同UI里的一个图片超链接点击后再返回,出现按钮失效。 [ 42%]

...动chrome出现错误: Error processing launch: Error Could not attach to main target IOS系统内嵌H5游戏,退到后台,等几秒返回音乐音效全无 Texture图片能否进行翻转? 救命!canvas定位后 点击区域偏移,求大大们解答 谷歌浏览器播放mp3出现The Audio...

来源: Laya_社区 发布时间: 20180810

2720. 自定义2D Shader · LayaAir3.4 · 引擎文档 · LAYABOX [ 42%]

... 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