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

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

1021. 分享:IDE使用SWF动画的销毁与反复创建 [ 68%]

...           Laya.loader.load([{url: "res/atlas/flicker/image.json", type: Loader.ATLAS}], Handler.create(this, onLoaded));         }         private function onLoaded():void {             //实例UI界面             var testView:TestView = new TestView();    ...

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

1022. [0]laya-zip游戏加载提速库(Laya3.0版本适配更新) [ 68%]

...// Laya 2.x及以下版本 Laya.loader.create([{ url: "res/3d/Player.zip", type: LayaZip.ZIP}])[/code][code]// Laya3.x版本 Laya.loader.load([{ url: "res/3d/Player.zip", type: LayaZip.ZIP}])[/code] 加载资源使用:[code]// Laya 2.x及以下版本 let player1 = Laya.loader.getRes("res/3d/Player/A...

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

1023. laya.d3.shader.ShaderVariant_API3.0 [ 68%]

...l setValue ShaderVariantCollection Legend Object literal Variable Function Type alias Class Class with type parameter Constructor Method Enumeration Interface

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

1024. laya.d3.core.particleshuriken.module.GradientDataNumber_API3.0 [ 68%]

...alue getKeyByIndex getValueByIndex Legend Object literal Variable Function Type alias Class Class with type parameter Constructor Method Enumeration Interface

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

1025. laya.d3.core.render.command.BlitFrameBufferCMD_API3.0 [ 68%]

...rData recover run setshader create Legend Object literal Variable Function Type alias Class Class with type parameter Constructor Method Enumeration Interface Static method

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

1026. 我照的列子做,Protobuf,结果报错! [ 68%]

...   err code: ============================================================ TypeError: Cannot read property 'ProtoBuf' of undefined at new Game (file:///D:/Projects/game/bin/js/main.js:8:47) at file:///D:/Projects/game/bin/js/main.js:39:12   附件 : --> 2017-02-22 添加评论 免费帖 --> 分享 ...

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

1027. 新建Laya2D空项目(TS),编译出错! [ 68%]

...op\Laya\Test5\.laya\compile.js [15:32:44] Starting 'compile'... 出错了: TypeScript error: ../node_modules/@types/node/index.d.ts(37,22): Error TS6053: File '../node_modules/@types/node/inspector.d.ts' not found.   ----我是分割线--------------------------------------------------------- 然...

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

1028. laya.display.cmd.DrawTrianglesCmd_API3.0 [ 68%]

...ices x y ID getBoundPoints recover Legend Object literal Variable Function Type alias Class Class with type parameter Property Method Enumeration Interface Static property

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

1029. 开关页面导致内存一直增长 [ 68%]

...ResList: Array<Object> = [         { url: "npc.json", type: Laya.Loader.JSON },         { url: "packatlas/uiatlasnew/talk.atlas", type: Laya.Loader.ATLAS }     ]; 通过直接加载数组的形式    “通过这种方式清理资源发现每次“打开关...

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

1030. 我二进制资源load之后,为什么通过getRes获取不到。 [ 68%]

...代码如下: var resources = [ { url: "res/atlas/images/guide.atlas", type: Laya.Loader.ATLAS }, { url: "config/data.txt", type: Laya.Loader.BUFFER }]; Laya.loader.load(resources, Handler.create(this, this.onComplete), Handler.create(this, this.onProcess), null, 1, false); } onComplete(e,a,b) { c...

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