大约有 2,789 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0069 秒)
Laya_社区(1162) Laya3.0_api(543) Laya2.0_api(297) laya_api(221) Laya2.0_文档(201) Laya_示例(139) Laya3.0_文档(117) Laya2.0_示例(109)
...las",Laya.Handler.create(this,this.onComplete)); } } onComplete(): void { //初始化rank排行榜 var rank = new BigRank(); //初始化 rank.init(); } 然后修改 BigRank 这个类 file:///blog/asroads.github.io/source/_posts/game/LayaAir2-0-LayaBox-%E4%B9%8B%E5%B0%8F%E6%B8%B8%E6%88%8F%E...
来源: Laya_社区 发布时间: 20190307
2.0 的list问题 /** 初始化坑位 */ private initCellList(): void { this.cellList.itemRender = CellItem; this.cellList.vScrollBarSkin = ""; this.cellList.repeatX = BattleMgr.Ins.Model.crosCel; this.cellList.repeatY = BattleMgr.Ins.Model.maxCell / BattleMgr.Ins.Model.crosCel; this.cellList.array...
来源: Laya_社区 发布时间: 20181221
...问题已解决 直接贴代码了 private static function _stageOnFocus():void { _isActive = true; Laya.stage.off(Event.MOUSE_DOWN, null, _stageOnFocus); if (_blurPaused) { if (_tMusic) { playMusic(_tMusic, _musicLoops, _musicCompleteHandler, _musicPosition); } _blurPaused = false; } if(WebAudioSou...
来源: Laya_社区 发布时间: 20171019
...Y:1},200); timeLine.play(0,false); } private function onLabel(text:String):void { trace(text); }应该是你的代码有问题,以上是我的测试例子,没有出现重复执行的问题,请测试。 注意,label事件的触发是在动画运行之后,一开始增加的label事件是无...
来源: Laya_社区 发布时间: 20161229
.../SkyBox.lmat", Laya.Handler.create(null, function(mat:Laya.SkyBoxMaterial):void { camera.skyboxMaterial = mat; })) 2018-11-30 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 一台电脑可以让你哭吗 相关问题 请问LayaAir中如...
来源: Laya_社区 发布时间: 20181127
...urves(x:Number, y:Number, points:Array, lineColor:*, lineWidth:Number = 1):void 绘制一系列曲线。 问题状态 最新活动: 2019-03-28 13:23 浏览: 234 关注: 1 人
来源: Laya_社区 发布时间: 20190328
...urves(x:Number, y:Number, points:Array, lineColor:*, lineWidth:Number = 1):void 绘制一系列曲线。 关于同为object层,层级设置无效的问题 将list里的scrollBar设置mouseWheelEnable=false后过一段时间设置mouseWheelEnable=true;无法滚动 new Laya.Sprite();绘制图形以...
来源: Laya_社区 发布时间: 20191115
...* @param value * */ public static function copyToClipBoard(value:String):void{ var input:Object; input = Browser.createElement("input"); input.setAttribute('readonly', 'readonly'); input.setAttribute("value",value); Browser.document.body.appendChild(input); input.select(); input.setSelect...
来源: Laya_社区 发布时间: 20191216
...efined in laya/d3/WebXR/core/WebXRGamepad.ts:76 Methods destroy destroy(): void Defined in laya/d3/WebXR/core/WebXRGamepad.ts:211 destroy Returns void event event(type: string, data?: any): boolean Inherited from EventDispatcher.event Defined in laya/events/EventDispatcher.ts:32 派发事件。 Para...
来源: Laya3.0_api 发布时间: 20231115
...urves(x:Number, y:Number, points:Array, lineColor:*, lineWidth:Number = 1):void 绘制一系列曲线。 LayaAir2D示例 Mac 2.0.0beta3 Chrome调试黑屏 关于新版的引擎示例中的一点疑问? 页面设置中参考视图设置的背景图片,调试时不能显示 有没有环形倒计...
来源: Laya_社区 发布时间: 20171125