大约有 2,741 项符合查询结果, 库内数据总量为 31,629 项。 (搜索耗时: 0.0055 秒)
Laya_社区(1926) Laya3.0_api(248) Laya2.0_api(162) laya_api(132) Laya_示例(81) Laya2.0_文档(81) Laya2.0_示例(65) Laya3.0_文档(46)
...Laya.loader.load("res/atlas/template/QuestionDialog.atlas", Handler.create(null)); 对应的场景代码里: var dialog = new QuestionDialogUI(); Laya.stage.addChild(dialog); dialog.popup(); dialog.btn_question_dialog_next.on(Laya.Event.CLICK, thi...
来源: Laya_社区 发布时间: 20180718
...his, this.onAssetsLoaded), Laya.Handler.create(this, this.onAssetsLoading, null, false)); } onAssetsLoading(progress) { this.Progress.changeBar(progress); this.Progress.changeText(progress) } onAssetsLoaded() { alert('加载完毕'); //==================== this.Socket = new Socket(); //=============...
来源: Laya_社区 发布时间: 20171217
...egion.x, this.dragRegion.y, this.dragRegion.width, this.dragRegion.height, null, "#FFFFFF", 2); } private onStartDrag(e: Event): void { //鼠标按下开始拖拽(设置了拖动区域和超界弹回的滑动效果) this.ape.startDrag(this.dragRegion, true, 100); } } } new laya.Interaction_Drag(); 2...
来源: Laya_社区 发布时间: 20171106
...ole.log("this._texture.destroy"); this._texture.destroy(); this._texture = null; } if(this._htmlC){ this._htmlC.destroy(); } this._htmlC = this.zoomBox.drawToCanvas(RouletteTableScene.ZOOM_W, RouletteTableScene.ZOOM_TARGET_H, -offsetX, -offsetY); //获取截屏区域的texture this._texture = new La...
来源: Laya_社区 发布时间: 20170822
... AppFunction.showLoadingView_fullScreen(resArray, createGameScene, null, "正在进入游戏..."); } private getGets() { var tempUrl: String = Laya.Browser.window.location.href; var u = tempUrl.split("?"); var gets...
来源: Laya_社区 发布时间: 20181213
...te)); } /***加载资源完成***/ private function onSkinLoadComplete(e:*=null):void { //创建垂直滚动条 createVScroller(); } /***创建垂直滚动条***/ private function createVScroller():void { //实例化水平滚动条 vScrollBar= new VScrollBar(); //加载皮肤资源(其他资源根...
来源: Laya2.0_文档 发布时间: 20210715
...te)); } /***加载资源完成***/ private function onSkinLoadComplete(e:*=null):void { //创建水平滚动条 createHScroller(); } /***创建水平滚动条***/ private function createHScroller():void { //实例化垂直滚动条 hScrollBar= new HScrollBar(); //加载皮肤资源(其他资源根...
来源: Laya2.0_文档 发布时间: 20210714
...博 QZONE 微信 130*****330 赞同来自: 不知道为什么这个data为null 2018-10-13 0 1 分享 微博 QZONE 微信 130*****330 赞同来自: 谁来帮帮我 2018-10-14 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 130*****330 相...
来源: Laya_社区 发布时间: 20181013
... AppFunction.showLoadingView_fullScreen(resArray, createGameScene, null, "正在进入游戏..."); } private getGets() { var tempUrl: String = Laya.Browser.window.location.href; var u = tempUrl.split("?"); var gets...
来源: Laya_社区 发布时间: 20181202
...ent.MOUSE_UP, this, this.drawCollider); } private onKeyDown(e:Laya.Event = null):void { if (e.keyCode == Laya.Keyboard.UP) this.layaMonkey.transform.translate(this._tempUnitX1); else if (e.keyCode == Laya.Keyboard.DOWN) this.layaMonkey.transform.translate(this._tempUnitX2); else if (e.keyCode == Lay...
来源: Laya_示例 发布时间: 20251223