大约有 42 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0036 秒)
...eloLaya{ export class Pomelo{ static DEBUG:boolean = true; static EVENT_IO_ERROR:string = "io-error"; static EVENT_CLOSE:string = "close"; static EVENT_KICK:string = "onKick"; static EVENT_HEART_BEAT_TIMEOUT:string = 'heartbeat timeout'; private JS_WS_CLIENT_TYPE:string = 'js-websocket'; private JS_...
来源: Laya_社区 发布时间: 20180119
...LayaNative底层LOG分为五种: enum class LogType { Debug, Info, Warn, Error, Fatal, }; 每种日志对应的日志级别如下: enum class LogLevel { Debug = 5, Info = 4, Warn = 3, Error = 2, Fatal = 1, Close = 0, }; 在js脚本中,开发者可以通过以下函数设置日志级别,默认...
来源: Laya3.0_文档 发布时间: 20251010
解析sk资源报错 GameDemo.max.js:21170 Uncaught RangeError: Offset is outside the bounds of the DataView 代码: package com.ppt.components.role { import laya.ani.bone.Skeleton; import laya.ani.bone.Templet; import laya.events.Event; public class CombatR...
来源: Laya_社区 发布时间: 20170204
...1unity制作的粒子特效加载的时候报错 laya.d3.js:277 Uncaught Error: AnimationClipParser02:unknown property name. at AnimationClipParser02.READ_ANIMATIONS (laya.d3.js:277) at Function.AnimationClipParser02.parse (laya.d3.js:222) at AnimationClip.__proto.onAsynLoaded (l...
来源: Laya_社区 发布时间: 20190520
...mes:true } })) .pipe(sourcemaps.write(releaseDir + '/../sourcemaps')) .on('error', function (err) { console.warn(err.toString()); }) .pipe(gulp.dest(releaseDir)); } }); 可以看到laya是用uglify工具压缩的js 2、生成js对应的 .js.map文件 .js.map :map文件是js文件压缩后,文件...
来源: Laya_社区 发布时间: 20190528
[0]Spine3.8.75报错:Error: Unsupported skeleton data, please export with a newer version of Spine. 我使用spine3.8.75导出的文件无法使用。代码是使用的2.12.2beta1引擎示例的源码。 var Browser = Laya.Browser; var WebGL = Laya.WebGL; var Stage = Laya.Stage; var Event = La...
来源: Laya_社区 发布时间: 20211013
...| order_id | string | 订单ID | | desc | string | 成功"success", 失败"error" | ### 4. 注意事项: iOS的IAP功能并不属于LayaNative引擎的核心功能,此部分代码也是开放的,开发者可以根据自己的需求自行修改,如出现充值问题,LayaBox公司不负责找b...
来源: Laya2.0_文档 发布时间: 20210715
...在附件中, 加载使用lh文件时报错: laya.d3.js:30421 Uncaught Error: Utils3D:unidentified class type in (.lh) file. at Function._createSprite3DInstance (laya.d3.js:30421) at Function._createSprite3DInstance (laya.d3.js:30426) at Function._createNodeByJson02 (laya.d3.js...
来源: Laya_社区 发布时间: 20200106
.... */ // "checkJs": true, /* Report errors in .js files. */ // "jsx": "preserve", /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */ // "declaration": true, /* Genera...
来源: Laya_社区 发布时间: 20190408
...getRes(this._skBufferUrl); if (!tSkBuffer){ this.event(/*laya.events.Event.ERROR*/"error","load failed:"+this._skBufferUrl); return; } //MODIFIED:使用formatPath进行路径过滤 this._path=this.formatPath(this._skBufferUrl.slice(0,this._skBufferUrl.lastIndexOf("/"))+"/"); this.parseData(null,tSkB...
来源: Laya_社区 发布时间: 20190419