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

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

51. 关于Laya.Timer.once附带参数问题 [ 81%]

...关于Laya.Timer.once附带参数问题 Laya.timer.nce(5000,this.this.func,args) 中的args我定义了一个局部变量var 但是在等待执行this.func的时候 这个args是一个undefined,请求论坛大神。。。 2018-05-29 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找...

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

52. laya.device.motion.Accelerator [ 81%]

... EventDispatcher offAllCaller(caller:*):EventDispatcher 移除caller为target的所有事件监听 EventDispatcher  on(type:String, caller:*, listener:Function, args:Array = null):EventDispatcher[override] 侦听加速器运动。 Accelerator once(type:String, caller:*, listener:Function, args:A...

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

53. laya.net.HttpRequest_API3.0 [ 81%]

...tion): EventDispatcher off(type: string, caller: any, listener?: Function, args?: any[]): EventDispatcher Inherited from EventDispatcher.off Defined in laya/events/EventDispatcher.ts:112 从 EventDispatcher 对象中删除侦听器。 Parameters type: string 事件的类型。 listener: Function 事...

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

54. 微信小游戏lose skin [ 81%]

...被折叠 该问题目前已经被锁定, 无法添加新回复 发起人 Args 相关问题 关于微信小游戏关系链的问题 【屏幕适配】在LayaAir上面是竖屏,为什么到微信开发工具中就是横屏,而且还被拉伸了 微信关系链:LayaAir引擎针对微信小游戏...

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

55. laya.display.Input [ 81%]

...,canvas模式下进行依然是画布缓存,webgl模式下使用renderTarget缓存。 webgl下renderTarget缓存模式缺点:会额外创建renderTarget对象,增加内存开销,缓存面积有最大2048限制,不断重绘时会增加CPU开销。优点:大幅减少drawcall,渲染性...

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

56. laya.d3.terrain.Terrain [ 81%]

...int):Node 添加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node addComponent(type:Class):* 添加组件。 Node addComponentIntance(comp:Component):* 添加组件实例。 Node addInputChild(node:Node):NodeNode  buildTerrain(terrainRes:TerrainRes...

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

57. 引擎中的修改意见 [ 81%]

...sChanged = true; event(Event.CHANGE); } }public function lang(text:String, args:Array = null):void { text = langPacks && langPacks[text] ? langPacks[text] : text; if (!args || args.length <= 0) { this._text = text; } else { for (var i:int = 0, n:int = args.length; i < n; i++) { text = ...

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

58. ts加密md5码封装 [ 80%]

...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:Md5; publi...

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

59. laya.d3.core.light.LightSprite_API3.0 [ 80%]

...位置。 Returns Node 返回添加的节点。 addChildren addChildren(...args: any[]): void Inherited from Node.addChildren Defined in laya/display/Node.ts:251 批量增加子节点 Parameters Rest ...args: any[] Returns void addComponent addComponent<T>(componentType: {}): T Inherited from ...

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

60. laya.d3.webxr.core.ButtonGamepad_API3.0 [ 80%]

...tion): EventDispatcher off(type: string, caller: any, listener?: Function, args?: any[]): EventDispatcher Inherited from EventDispatcher.off Defined in laya/events/EventDispatcher.ts:112 从 EventDispatcher 对象中删除侦听器。 Parameters type: string 事件的类型。 listener: Function 事...

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