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

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

351. socket大型项目回调 [ 35%]

...播放完成一遍后有没事件或者回调 http 请求 once 的 回调参数,如何传递和接收? 问题状态 最新活动: 2018-01-19 21:34 浏览: 1348 关注: 4 人

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

352. laya.ui.Dialog_API3.0 [ 35%]

...:176 对话框被关闭时会触发的回调函数处理器。 回调函数参数为用户点击的按钮名字name:String。 closeType closeType: string Defined in laya/ui/Dialog.ts:196 关闭类型,点击name为"close","cancel","sure","no","yes","no"的按钮时,会自动记录点击...

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

353. 【经验分享】如何让ts项目支持装饰器语法,以及自动化发布相关的一些东西 [ 35%]

...的  zopflipng-bin 即可。   安装commander,用于解析命令行参数npm install --save-dev commander@2.19.0 至此,编译所需的环境已经搭建完成,下面编写自动化编译、发布脚本。   2)、编写自动化编译、发布脚本(脚本基本照抄自 layaair2-cmd,...

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

354. laya.ani.bone.Skeleton [ 34%]

...,只会显示一个图片(1.0会显示多个图片),x,y,width,height参数取消。 Sprite localToGlobal(point:Point, createNewPoint:Boolean = false, globalNode:Sprite = null):Point 把本地坐标转换为相对stage的全局坐标。 Sprite off(type:String, caller:*, listener:Function, onc...

来源: Laya2.0_api 发布时间: 20190513

355. laya.display.Stage_API3.0 [ 34%]

...onName。 Default value args: any[] = null 传递给 method 函数的可选参数列表。 Returns void clearTimer clearTimer(caller: any, method: Function): void Inherited from Node.clearTimer Defined in laya/display/Node.ts:609 清理定时器。功能同Laya.timer.clearTimer()。 Parameters calle...

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

356. laya.display.Text_API3.0 [ 34%]

...onName。 Default value args: any[] = null 传递给 method 函数的可选参数列表。 Returns void changeText changeText(text: string): void Defined in laya/display/Text.ts:353 deprecated Parameters text: string Returns void clearTimer clearTimer(caller: any, method: Function): void Inherited f...

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

357. laya.map.MapLayer [ 34%]

...,只会显示一个图片(1.0会显示多个图片),x,y,width,height参数取消。 Sprite localToGlobal(point:Point, createNewPoint:Boolean = false, globalNode:Sprite = null):Point 把本地坐标转换为相对stage的全局坐标。 Sprite off(type:String, caller:*, listener:Function, onc...

来源: Laya2.0_api 发布时间: 20190513

358. 2D性能优化 · LayaAir3.4 · 引擎文档 · LAYABOX [ 32%]

...可通过Stat.FPS查看当前帧频。 Laya.timer.loop执行频率依赖于参数指定时间。 Laya.timer.frameLoop(1, this, this.animateFrameRateBased); Laya.stage.on("click", this, this.dispose); dispose() { Laya.timer.clear(this, this.animateFrameRateBased); } 当一个对象的生命周期结...

来源: Laya3.0_文档 发布时间: 20251010

359. LayaAir能做RPG吗?不要问我能不能,因为我已经在做 - 杀意来袭 [ 30%]

...          * @params protocol协议名称          * @params data 参数【和服务端针对协议约定】         */         public request(protocol: string, data: any = null): void {             if (!this.pomelo) return;             if(!this.mConnected){         ...

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

360. laya.d3.core.scene.Scene3D_API3.0 [ 30%]

...onName。 Default value args: any[] = null 传递给 method 函数的可选参数列表。 Returns void clearTimer clearTimer(caller: any, method: Function): void Inherited from Node.clearTimer Defined in laya/display/Node.ts:609 清理定时器。功能同Laya.timer.clearTimer()。 Parameters calle...

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