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

大约有 3,003 项符合查询结果, 库内数据总量为 30,723 项。 (搜索耗时: 0.0071 秒)

31. Laya.loader.load(xx) 当地址""的时候,会报错。 [ 93%]

..."ktx":                             format = exports.TextureFormat.ETC1RGB;                             break;                         case "pvr":                             format = expo...

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

32. Unity3d导出模型时 报错:LayaAir3D UnityPlugin prefab can't export You should check the texture file format [ 92%]

Unity3d导出模型时 报错:LayaAir3D UnityPlugin prefab can't export You should check the texture file format unity版本:2018.4.7f1 插件当日Laya2.4版本插件 步骤,导入插件-->将prefab拖入场景-->手动修改shader为BlinnPhong此时LayaBlinnPhongGUI.cs会报空引用...

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

33. ts app构建ios版本后xcode真机调试,一直报[ReferenceError:Cant't find varible:exports],这是什么原因] [ 92%]

...s版本后xcode真机调试,一直报[ReferenceError:Cant't find varible:exports],这是什么原因] 2019-12-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 悟空 赞同来自: 大佬 问题解决了吗。...

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

34. 项目发布问题 [ 92%]

... '/usr/local/bin/node',   '/usr/local/lib/node_modules/layaair-cmd/ProjectExportTools/LayaAirCmdTool.max.js',   '/Users/xxx/Desktop/chickenGame/chicken_game/laya/.laya',   'clear=true',   'releasemode=normal',   'exportUICode=true',   'exportRes=true' ] type: Darwin appPath: /usr/local/lib/nod...

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

35. 插件开发说明 · LayaAir3.0文档 · LAYABOX [ 89%]

...代码 //注意:IEditorEnv.regClass是必须的 @IEditorEnv.regClass() export class TestSceneScript { //注意:this是当前的IEditorEnv.IGameScene对象,如果不需要,也可以省略这个声明 static test(this: IEditorEnv.IGameScene, msg: string) { console.log(msg); //hello return "ok"...

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

36. laya 2.0 可以支持 typescript namespace 吗 [ 89%]

...,实际 namespace 可以这么写的;// 文件1 a.ts namespace game { export class A { } } export = game; // 文件2 b.ts namespace game { export class B { } } export = game; // 文件3 c.ts import * as game from "./a.ts" import * as game2 from ".b.ts new game.A() new game2.B() // 文件4 d.ts i...

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

37. matter.js mouseconstraint在微信小游戏中无效 [ 88%]

...给window对象添加pageXOffset和pageYOffset属性: var ontouchstart = exports.ontouchstart = null;     var ontouchmove = exports.ontouchmove = null;     var ontouchend = exports.ontouchend = null;     var pageXOffset = exports.pageXOffset = 0;     var pageYOffset = exports.pageY...

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

38. 扩展脚本问题,麻烦帮看下 [ 88%]

扩展脚本问题,麻烦帮看下  module game { export class testbox extends Laya.Box { constructor(){ super(); console.log(this.getChildByName('btnName')) } } export class testImg extends Laya.Image { constructor(){ super(); console.log(this.getChildByName('name')) console.log(this) } } } 我...

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

39. module写法的模块无法使用,其他地方使用会报错 [ 88%]

...dule写法的模块无法使用,其他地方使用会报错 module bili{ export class Test{ constructor(){ console.log("Test"); } } } 2018-09-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 7 个回复 牛唠叨 赞同来...

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

40. Laya_API3.0 [ 88%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "Laya" Laya Class Laya Laya 是全局对象的引用入口集。 Laya类引用了一些常用的全局对象,比如Laya.stage:舞台,Laya.timer:时间管理器,Laya.loader:加载管理器,...

来源: Laya3.0_api 发布时间: 20231115