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

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

91. PBR标准材质实时阴影渲染问题 [ 62%]

...R标准材质实时阴影渲染问题 先上unitylaya效果的对比图 import ModelViewer from "./ModelViewer"; import Scene = Laya.Scene; export default class Game3D extends Scene { constructor() { super(); //初始化引擎 Laya3D.init(0, 0); var scene_360 = Laya.loader.getRes("LayaScene_PUCHE...

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

92. laya3.0中jszip使用异常 [ 62%]

...index.d.ts复制到dist目录下,改为jszip.d.ts,导入代码为: import * as JSZip from "../node_modules/jszip/dist/jszip"使用代码为: let zipUrl = "resources/files/config.zip";         Laya.loader.load([{ url: zipUrl, type: Laya.Loader.BUFFER }], null, Laya.Handler.create(this, th...

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

93. ts项目 模块问题 [ 62%]

...hics.drawRect(0, 0, this._size, this._size, this._color); } }   //a文件 import player from './player'; // 程序入口 class GameMain { constructor() { Laya.init(640, 960); var stage = Laya.stage; let p1 = new player(); } } new GameMain(); 2018-08-04 添加评论 免费帖 --> 分享 微博 QZONE...

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

94. laya2.0怎么做到如下操作? [ 62%]

...ox2D给物理世界加ScrollRect引发的问题~! laya2.0 ts脚本需要 import ** from ** 问题 无法对载入的材质操作。sharedMaterials的length为0 laya2.0 做的第一个小游戏发布上线,多多指教 问题状态 最新活动: 2019-03-08 14:54 浏览: 893 关注: 1 人

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

95. laya2.0怎么打安卓包?没看到有构建app [ 61%]

...界加ScrollRect引发的问题~! 构建APK问题 laya2.0 ts脚本需要 import ** from ** 问题 问题状态 最新活动: 2019-02-20 10:17 浏览: 946 关注: 1 人

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

96. 个人解析Laya2.0源码的教程 [ 61%]

... laya2.0 GameConfig怎么更新有scene的脚本? laya2.0 ts脚本需要 import ** from ** 问题 【项目分享】分享一个六角消除小游戏源码 问题状态 最新活动: 2020-12-23 17:14 浏览: 306 关注: 3 人

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

97. laya2.0不开源了了么? [ 61%]

...做的第一个小游戏发布上线,多多指教 laya2.0 ts脚本需要 import ** from ** 问题 有没有开源的游戏项目框架 Laya2.0 内嵌模式、加载模式、分离模式、文件模式的场景加载创建场景打开关闭 问题状态 最新活动: 2019-09-10 11:46 浏览: 112...

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

98. CastShadowList需要重写_remove [ 61%]

...打包压缩的功能吗?还是需要自己实现? laya2.0 ts脚本需要 import ** from ** 问题 UI皮肤怎么动态设置图片资源,有时候需要更换整个文件夹的图片,有什么好的方法么 问题状态 最新活动: 2018-11-19 18:37 浏览: 1648 关注: 2 人

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

99. 定义了一个类,运行时找不到 [ 61%]

...了一个类,运行时找不到 定义了一个DealSytem类,并导入 import DealSystem from "./DealSystem" 但是运行时报错 TypeError: _DealSystem2.default is not a constructor 怎么就成了DealSystem2 2019-02-02 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结...

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

100. ProtocolBuffer通信 · LayaAir3.3 · 引擎文档 · LAYABOX [ 61%]

...ufDemo.ts // 引入生成的 protobuf 模块,路径相对于当前文件 import * as protobuf from "./libs/protobuf/protobuf"; const { regClass } = Laya; @regClass() export class ProtobufDemo extends Laya.Script { onEnable() { console.log("Game start"); } } 2.2 Protobuf示例脚本 引入了protob...

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