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

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

1. socket大型项目回调 [ 100%]

...-websocket'; private JS_WS_CLIENT_VERSION:string = '0.0.5'; private RES_OK:number = 200; private RES_FAIL:number = 500; private RES_OLD_CLIENT:number = 501; private socket:Laya.Socket = null; private callbacks:any = {}; private handlers:any = {}; // Map from request id to route private routeMap = {}...

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

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

...rt 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.propertyNameToID("u_Mai...

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

3. 安装layaair2-cmd一直失败 [ 71%]

...s@<3 is no longer maintained and not recommended for usage  due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3. C:\Users\Administrator\AppData\Roaming\npm\layaair2-cmd -> C:\Users\Administrator\AppData\Roaming\np m\node_modules\layaair2-cmd\layaa...

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

4. 如何使用vscode编译laya项目 [ 49%]

...({ output: { }, numWorkers:1,//Amount of workers to spawn. Defaults to the number of CPUs minus 1 sourcemap: false })*/ ] }).then(bundle => { return bundle.write({ file: workSpaceDir + '/bin/js/bundle.js', format: 'iife', name: 'laya', sourcemap: false }); }).catch(err=>{ console.log(err); }) ...

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

5. [LayaNative3]2d示例程序构建发布打包后,在OpenHarmony运行闪退 [ 42%]

...1.780 338 701 E C02d10/ExtractRule: GetJsonArray: failed to get json array number startSeg. 01-06 17:34:41.780 338 701 E C02d10/ExtractRule: GetJsonArray: failed to get json array number segStack. 01-06 17:34:41.780 338 701 I C02d10/ExtractRule: ParseRule: ParseFile eventId JS_ERROR, FeatureId 07_JS...

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