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

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

251. 网络和格式-ProtocolBuffer [ 79%]

...w Error(errMsg); // Encode a message to an Uint8Array (browser) or Buffer (node) var buffer = AwesomeMessage.encode(message).finish(); // ... do something with buffer // Or, encode a plain object var buffer = AwesomeMessage.encode( { awesomeField: "AwesomeString" }).finish(); // ... do something wit...

来源: Laya_示例 发布时间: 20241002

252. 网络和格式-ProtocolBuffer [ 79%]

...w Error(errMsg); // Encode a message to an Uint8Array (browser) or Buffer (node) var buffer = AwesomeMessage.encode(message).finish(); // ... do something with buffer // Or, encode a plain object var buffer = AwesomeMessage.encode( { awesomeField: "AwesomeString" }).finish(); // ... do something wit...

来源: Laya2.0_示例 发布时间: 20241002

253. laya.ui.TextArea_API3.0 [ 79%]

...本内容字符串。 Returns TextArea Properties Optional _extra _extra: INodeExtra Inherited from Node._extra Defined in laya/display/Node.ts:56 _graphics _graphics: AutoBitmap Inherited from TextInput._graphics Overrides Sprite._graphics Defined in laya/ui/TextInput.ts:118 _ownGraphics _ownGraphi...

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

254. 2.0里面的组件(Laya.Script)的prop其中几个类型应该怎么设置 [ 79%]

... {name:colorType, tips:"", type:Color}*/ public colorType; /** @prop {name:nodeType, tips:"", type:Node}*/ public nodeType; /** @prop {name:prefabType, tips:"", type:Prefab}*/ public prefabType; /** @prop {name:sizeGridType, tips:"", type:SizeGrid}*/ public sizeGridType; /** @prop {name:colorArrayTy...

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

255. Node类中getChildByName没有null容错 [ 79%]

Node类中getChildByName没有null容错 laya.core Node类,这里的this._childs可能为null。 这里希望框架做一下容错! 附件 : --> 2017-03-23 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cuixu...

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

256. IDE报错,不知道什么鬼问题 [ 78%]

....js [10:19:47] Starting 'compile'... 出错了: TypeScript error: ../../../node_modules/@types/node/index.d.ts(53,22): Error TS6053: File '../../../node_modules/@types/node/base.d.ts' not found. 2.0的又报这个,是什么问题呢

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

257. laya.d3.component.volume.Volume_API3.0 [ 78%]

...hideFlags id importance probePosition type Methods _VolumeChange _addRenderNode _initialize _motionInVolume _reCaculateBoundBox _removeRenderNode _setOwner destroy hasHideFlag onAdded onAwake onDestroy onDisable onEnable onLateUpdate onPostRender onPreRender onReset onStart onUpdate Constructors con...

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

258. laya.ui.Button_API3.0 [ 78%]

...钮的文本内容。 Returns Button Properties Optional _extra _extra: INodeExtra Implementation of ISelect._extra Inherited from Node._extra Defined in laya/display/Node.ts:56 _graphics _graphics: AutoBitmap Overrides Sprite._graphics Defined in laya/ui/Button.ts:212 _ownGraphics _ownGraphics: boo...

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

259. laya.events.TouchInfo_API3.0 [ 78%]

...fined in laya/events/InputManager.ts:589 Readonly downTargets downTargets: Node[] Defined in laya/events/InputManager.ts:595 Readonly event event: Event Defined in laya/events/InputManager.ts:586 lastRollOver lastRollOver: Node Defined in laya/events/InputManager.ts:592 moved moved: boolean Defined ...

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

260. 新创建2D空项目工程(TS) 编译出错 [ 77%]

...pile.js [15:26:11] 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.  这是新创建的项目 没有任何代码和修改!   进一步提示:关闭LayaIDE,进入%user...

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