大约有 4,373 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0105 秒)
Laya_社区(2475) Laya3.0_api(673) Laya2.0_api(357) laya_api(289) Laya2.0_文档(271) Laya_示例(157) Laya2.0_示例(116) Laya3.0_文档(35)
生成的粒子特效怎么设置colorComponentInter无效? function UILetterBox(letter, width) { UILetterBox.super(this); letter = letter; this.loadImage('res/jiezou/wenzi2.png'); Laya.loader.load("res/parts/qipao.part", Handler.create(this, onAssetsLoaded), null, Loader.JSON); } function onAsse...
来源: Laya_社区 发布时间: 20161230
...888 赞同来自: list.scrollBar.on('end',list,scrollBarHandler) function scrollBarHandler(){ if(this.scrollBar.value == this.scrollBar.max){ var that = this; setTimeout(function(){ that.addItem(".....
来源: Laya_社区 发布时间: 20170912
... Invalid value used as weak map key;at audioContext.oncanplay callback function TypeError: Invalid value used as weak map key Invalid value used as weak map key;at audioContext.onended callback function TypeError: Invalid value used as weak map key 2018-01-14 添加评论 免费帖 --> 分享 微...
来源: Laya_社区 发布时间: 20180114
...s type: string Optional data: any Returns void callLater callLater(method: Function, args?: any[]): void Inherited from Node.callLater Defined in laya/display/Node.ts:621 延迟运行指定的函数。 在控件被显示在屏幕之前调用,一般用于延迟计算数据。 see #runCallLater() Pa...
来源: Laya3.0_api 发布时间: 20231115
...p函数用this绑定时,clear无法清除 ,clearAll可以清除 public function startLoop() { Laya.timer.loop(2000,this,this.onLoop.bind(this)); } private function onLoop():void { if(this.stop){ Laya.timer.clear(this,this.onLoop.bind(this)); // } } ...
来源: Laya_社区 发布时间: 20171108
...载完成后使用tileWidth和tileHeight获取单块地图的大小private function createMap():void { tiledMap = new TiledMap(); tiledMap.createMap("res/tiledMap/orthogonal-test-movelayer.json", new Rectangle(0, 0, Laya.stage.width, Laya.stage.height),Handler.create(this,onComplete)); } private fun...
来源: Laya_社区 发布时间: 20160717
...e laya.display.Text#defaultFont */ public function get font():String { return _font; } public function set font(value:String):void { if ((_style as TextStyle).currBitmapF...
来源: Laya_社区 发布时间: 20190128
...个版本修复, chaincollider的 方法 override protected function getDef():* { if (!_shape) { _shape = new window.box2d.b2ChainShape(); _setShape(false); } ...
来源: Laya_社区 发布时间: 20181116
...nel' does not exist on type 'typeof Laya'.' "Laya.DebugPanel.init is not a function" 2018-03-08 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 4 个回复 qian 赞同来自: 版本问题 你这个版本还没有这个工具 ...
来源: Laya_社区 发布时间: 20180308
... 赞同来自: geo 监听_ani的完成事件 _ani.on(EVENT.COMPLETE, this, function(){}); 2018-04-28 1 0 分享 微博 QZONE 微信 fool_tiger 赞同来自: 谢谢! 2018-05-02 0 0 分享 微博 QZONE 微信 AlexNine 赞同来自: 可以直接在play后面加个回调 function playAni(aniPath,fn=fa...
来源: Laya_社区 发布时间: 20180428