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

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

1101. laya.components.Component_API3.0 [ 41%]

...ysicsComponent BaseRender Light Animator Animator2D RigidBody ColliderBase Script LODGroup HLOD EffectBase JointBase Index Constructors constructor Properties _extra _singleton owner runInEditor scriptPath Accessors awaked destroyed enabled hideFlags id Methods _initialize _setOwner destroy hasHideF...

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

1102. socket报错,on: reserved1 = 1, reserved2 = 1, reserved3 = 0 [ 41%]

...工具打开报错 真机调试报错:LayaPlayer不支持的标签</SCRIPT> 启动引擎报错 mPlugin.game_plugin_init(3); 微信小游戏编译报错 用了ByteArray的zlib.min.js后报错 2.2.0beta4,微信上动态合批报错. 播放背景音乐的问题 刚打开 桌面调试出现报...

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

1103. Layabox 2.0 bate5 运行编译之后 bundle.js 文件里面没有使用命名空间类文件的定义!导致运行时 找不到类的定义!这是为什么? 已上传 Demo 附件 [ 40%]

... 找不到类的定义!这是为什么? 已上传 Demo 附件 src/kbe_scripts/ 下面的命名空间类文件不编译,运行编译之后 bundle.js 文件里面没有使用命名空间类文件的定义!这是为什么?导致运行时 找不到类的定义!   Bianyi.zip 老版本的 IDE...

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

1104. unity插件报错 [ 40%]

...shRenderer' has been destroyed but you are still trying to access it. Your script should either check if it is null or you should not destroy the object. n.a (UnityEngine.SkinnedMeshRenderer A_0, System.String A_1, System.Boolean A_2) (at <f23f19a62c944610ba98639869d48a79>:0) n.b () (at <f2...

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

1105. Laya ts版,使用jasmine进行单元测试 [ 40%]

...版,使用jasmine进行单元测试 使用的Laya ts 1.7.22类库, typescript 3.2.2, npm 5.5.1  1 创建package.json{ "scripts": { "test": "jasmine-ts --config=jasmine.json" } } 2 安装jasmine及所需其他库,打开命令行,在项目根目录下npm i -D jasmine jasmine-ts ts-node typesc...

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

1106. 深入理解LayaAir引擎架构和实现原理(一)跨平台引擎源码编译 [ 40%]

...取引擎源码 LayaAir查看目录结构      laya引擎是使用TypeScript开发的,引擎核心代码在src/LayaAir路径下,查看tsconfig.json文件可知其编译目标环境为es6。编译引擎代码 项目路径下[code]npm i 复制代码[/code] 安装所需依赖库 查看package.js...

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

1107. 3D性能优化 · LayaAir3.3 · 引擎文档 · LAYABOX [ 40%]

...码如下: const { regClass, property } = Laya; @regClass() export class Script extends Laya.Script { //共享材质,用于合批 public batchMat: Laya.Material; //颜色数目 private _colorNums = 20; //精灵数目 private _spriteNums = 200; private _createColorBufferData() { //随机给20个...

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

1108. 脚本集定义 · LayaAir3.3 · 引擎文档 · LAYABOX [ 39%]

...E 的默认构建发布流程中,会将项目 src 目录下的所有 TypeScript 脚本统一编译并打包为一个名为 bundle.js 的脚本集合文件。我们称之为主脚本集。 而 脚本集定义(Script Bundle Definition),则用于自定义和管理这些脚本集合的构建方...

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

1109. LayaAir IDE 1.4.0新增功能 附加(扩展)脚本的使用 [ 39%]

LayaAir IDE 1.4.0新增功能 附加(扩展)脚本的使用 .script和.prop脚本结合IDE在代码层的使用方式 2016-10-14 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 cuixueying 赞同来自: SONIC3D...

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

1110. TiledMap地图 · LayaAir3.3 · 引擎文档 · LAYABOX [ 39%]

... { regClass, property } = Laya; @regClass() export class Main extends Laya.Script { private tMap:Laya.TiledMap; onEnable() { //创建地图对象 this.tMap = new Laya.TiledMap(); //创建Rectangle实例,视口区域 var viewRect:Laya.Rectangle = new Laya.Rectangle(0, 0, Laya.stage.designWidth, Lay...

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