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

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

431. 引用外部脚本的方式 · LayaAir3.4 · 引擎文档 · LAYABOX [ 54%]

...n里的内容: { "name": "test", "version": "1.0.0", "description": "", "main": "index.js", "bin": { "test": "bin/bundle.js" }, "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "author": "", "license": "ISC", "dependencies": { "astar-typescript": "^1.2.5" } } 接下来...

来源: Laya3.0_文档 发布时间: 20251010

432. 添加fairygui使用fairygui.UIPackage.addPackage ( "res/Bag" )后可以正常跑,发布到微信小游戏出错 [ 54%]

... fairygui.GRoot.inst.addChild ( fairygui.UIPackage.createObject( "Bag", "Main" ) );         } 附件 : --> 2018-05-13 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 一点一滴 赞同来自: 你这是微...

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

433. 继承自Laya.BaseMaterial并且自定义Shader的的自定义材质如何设置透明渲染 [ 54%]

...。 export default class CMat extends Laya.BaseMaterial { public static _mainTex : number; public static _mainCol : number; inited : boolean = false; constructor() { super(); if(!this.inited) { CMat._mainTex = Laya.Shader3D.propertyNameToID("u_MainTex"); CMat._mainCol = Laya.Shader3D.propertyNameToI...

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

434. 加载prefab的代码编译失败,提示“Property 'transform' does not exist on type 'Node'” [ 54%]

...动chrome出现错误: Error processing launch: Error Could not attach to main target laya2.0加载3d场景报错Uncaught TypeError: Cannot read property 'btCollisionObject' of undefined ide 2.4 layaair2-cmd 编译报错 预设怎么在代码中使用 微信小程序—未找到入口 app.json 文...

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

435. laya里的所有单例都没有初始值 [ 54%]

...关的链接 提交 7 个回复 无所畏惧 赞同来自: public function Main() {                if (window["Laya3D"]) window["Laya3D"].init(GameConfig.width, GameConfig.height);             else Laya.init(GameConfig.width, GameConfig.height, Laya["WebGL"]);       ...

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

436. 字节平台(抖音预览调试),因为一行代码导致无法启动问题 [ 54%]

...动chrome出现错误: Error processing launch: Error Could not attach to main target 关于近期iOS提交,因违反苹果3.1.1导致APP上架被拒的说明 LayaNative在Android 11上启动闪退 Chrome104.0.51112.102版本LayaBox2.13.0启动报错 预设怎么在代码中使用 路径是对的...

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

437. 我的一个swf加载后,出现’transform' of undefined,是为什么? [ 54%]

...动chrome出现错误: Error processing launch: Error Could not attach to main target 版本不匹配! 全局 tsc (2.2.2) != VS Code 的语言服务(2.1.5)。可能出现不一致的编译错误 laya2.0加载3d场景报错Uncaught TypeError: Cannot read property 'btCollisionObject' of undefined 谷...

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

438. 小程序开放域相关 [ 54%]

....s3 {color: #000000} span.Apple-tab-span {white-space:pre} public function Main() {             //初始化微信小游戏             MiniAdpter.init(true,false);             //获取设备信息             getappinfoback(this,initGame);               ...

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

439. 性能测试-卡通人物2 [ 54%]

...; this.createNameLabel(); } Laya.class(Character, "Character", Sprite); // Main var amount = 500; var character1 = [ "../../res/cartoon2/yd-6_01.png", "../../res/cartoon2/yd-6_02.png", "../../res/cartoon2/yd-6_03.png", "../../res/cartoon2/yd-6_04.png", "../../res/cartoon2/yd-6_05.png", "../../res/ca...

来源: Laya_示例 发布时间: 20260303

440. Android替换游戏启动logo看不到设置的图片 [ 53%]

...动chrome出现错误: Error processing launch: Error Could not attach to main target 游戏运行在chrome里面 听不见声音 Texture图片能否进行翻转? 求高人分享使用protobuff框架的游戏demo(TS版本或AS版本的) 成都雨墨游戏 求 laya 程序开发人员 写了一...

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