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

大约有 632 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0044 秒)

61. ts加密md5码封装 [ 88%]

ts加密md5码封装 tsconfig.json { "compilerOptions": { "module": "commonjs", "target": "es6", "sourceMap": true }, "exclude": [ "node_modules" ] } test: let str = Md5.Instance.get_md5("123456"); console.log(str) //len:32 //e10adc3949ba59abbe56e057f20f883emd5.ts class Md5 { private static _inst:M...

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

62. laya 导入 cocos2d-js 项目 [ 88%]

... 看了其他引擎才发现 LAYA 真的太太太太好用了!!!! TS项目使用matter.js库无智能提示 成都雨墨游戏 求 laya 程序开发人员 关于Laya实现Matter.js官方案例凹多边形的问题 用了第三方socket类 项目在IDE上可以连接正常运行,为什么...

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

63. tsconfig 中添加 "lib":["es5","es2015.promise"] ,之后无法引用lib.d.ts里面的内容,意味着console.log()都报错了 [ 88%]

tsconfig 中添加 "lib":["es5","es2015.promise"] ,之后无法引用lib.d.ts里面的内容,意味着console.log()都报错了 打算在代码中使用async await 语法,需要引用es2015.promise,引用后,无法使用console.log,下面是配置文件: { "compilerOptions": { "module": "...

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

64. laya.components.Keyframe2D_API3.0 [ 88%]

...Protected All Inherited Externals Only exported Menu Globals "laya/components/KeyFrame2D" Keyframe2D Class Keyframe2D Hierarchy Keyframe2D Implements IClone Index Properties data time defaultWeight Methods clone cloneTo Properties data data: TypeAniKey Defined in laya/components/KeyFrame2D.ts:30 帧...

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

65. laya.d3.Input3D_API3.0 [ 88%]

Search Preparing search index... The search index is not available ts Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/Input3D" Input3D Class Input3D Input3D 类用于实现3D输入。 Hierarchy Input3D Index Accessors multiTouchEnabled Methods getTouc...

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

66. 使用2.6引擎版本vscode开发不支持async await语法 编译出现提示缺少tslib错误 [ 88%]

...引擎版本vscode开发不支持async await语法 编译出现提示缺少tslib错误 错误提示:This syntax requires an imported helper but module 'tslib' cannot be found    semantic error TS2354: This syntax requires an imported helper but module 'tslib' cannot be found.     at error (D:...

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

67. laya.components.AnimatorPlayState2D_API3.0 [ 88%]

...Protected All Inherited Externals Only exported Menu Globals "laya/components/AnimatorPlayState2D" AnimatorPlayState2D Class AnimatorPlayState2D Hierarchy AnimatorPlayState2D Index Constructors constructor Properties _finish _frontPlay _playAllTime Accessors animatorState duration Constructors const...

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

68. 错误提示很好,但是还是不知道我代码哪里出了问题 [ 87%]

...e_modules\vscode-debugadapter\lib\protocol.js:24:60)     at emitOne (events.js:96:13)     at Socket.emit (events.js:188:7)     at rea[...] Error processing "evaluate": TypeError: Cannot read property 'api' of undefined     at ChromeConnection.get api [as api] (d:\LayaBox\LayaAirIDE_1_7_6_bet...

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

69. laya里面TS的正则表达式跟js不同的 [ 87%]

laya里面TS的正则表达式跟js不同的 验证身份证号(15位或18位数字):^\d{15}|\d{18}$ 验证手机号码11位数字,以1开头。/^1\d{10}$/ 首先前后是不需要用/ / \d好像不行   TS正解: 验证身份证号(15位或18位数字): var reg:RegExp = new RegExp...

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

70. Uncaught RangeError: Source is too large 这个怎么解决,下面是具体的错误提示,希望有朋友提供下解决方法 [ 87%]

...y.set (native) at DynamicBatch.__proto._getRenderElement (file:///D:/Projects_D/LayaPrjs/2017_FilesLayouterManager/bin/h5/Main.max.js:5989:23) at DynamicBatch.__proto._addToRenderQueue (file:///D:/Projects_D/LayaPrjs/2017_FilesLayouterManager/bin/h5/Main.max.js:6043:9) at DynamicBatchManager.__proto...

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