大约有 1,144 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0049 秒)
Laya_社区(859) Laya3.0_api(80) Laya2.0_文档(72) Laya_示例(52) Laya2.0_示例(48) Laya3.0_文档(29) laya_api(2) Laya2.0_api(2)
...是手机浏览器还是pc浏览器? 调用动画结束on方法,报错this.zombieAnimator.on is not a function laya2.1.1 微信排行榜无法滑动,按钮也无法点击 as3.0下3D引擎中通过滑动控制camera的问题 如何判断被加载的Swf里的MovieClip播放完成? 问题状态...
来源: Laya_社区 发布时间: 20180814
...看到代码 2019-01-09 0 0 分享 微博 QZONE 微信 - 赞同来自: this._list.on(fairygui.Events.SCROLL, this, this.doSpecialEffect); 监听到list发生滚动,进行判断位置和修改item的大小。 2019-06-28 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要...
来源: Laya_社区 发布时间: 20181226
... Laya.Camera; private scene: Laya.Scene; public _load(owner : any):void{ this.scene = owner; this.camera = this.scene.scene.getChildByName("Main Camera") as Laya.Camera; console.log("当前摄像机的名字是:" + this.camera.name); } public _start(state:Laya.RenderState):void{ this.ray = new...
来源: Laya_社区 发布时间: 20181020
...e.bgColor = "#232628"; //这里是我注释掉的代码 //Laya.loader.load(this.ApePath, Handler.create(this, this.setup)); this.setup(); } private setup(): void { this.createApe(); this.showDragRegion(); } private createApe(): void { this.ape = new Sprite(); //this.ape.loadImage(this.ApePath); Laya...
来源: Laya_社区 发布时间: 20171106
...hild(btn2); btn1.on(Event.CLICK,this,onClick); btn2.on(Event.CLICK,this,onClick); Laya.loader.load([{url: "res/atlas/common.atlas", type: Loader.ATLAS}]); ...
来源: Laya_社区 发布时间: 20180425
使用Handler 返回name 始终是 undefined public function RegDlg() { this.btn_submit.name = Dialog.SURE; this.closeHandler = Handler.create(this ,this.onClose, ["123"],false); } private function onClose(name:String):void{ if(name == Dialog.SURE){ var di:NormalDlg = new NormalDlg(); di.popupConte...
来源: Laya_社区 发布时间: 20170324
...OWALL; Laya.stage.bgColor = "#232628"; //预加载资源 Laya.loader.load([this.buttonSkin, this.clipSkin, this.bgSkin], Laya.Handler.create(this, this.onSkinLoaded)); } private onSkinLoaded(): void { this.showBg(); this.createTimerAnimation(); this.showTotalSeconds(); this.createController(); } pri...
来源: Laya2.0_文档 发布时间: 20210714
...e(100,300); list.repeatX =1; list.repeatY =this.arr.length; list.itemRender =Item; //Item 为继承BOX类 list.vScrollBarSkin =""; Laya.stage.addChild(list); list.array =this.arr; list.ren...
来源: Laya_社区 发布时间: 20190522
...params = ["move"]; test_e.time = 0.2; let test_cp:Laya.AnimationClip = this._ani.getDefaultState().clip; test_cp.addEvent(test_e); test_cp.on("move_over",this,this.test_over); 预想是播放到0.2秒就会发送"move_over",但事实好像不是这样的,那么怎么监听 通过addEvent...
来源: Laya_社区 发布时间: 20190813
...bleHighAccuracy = true; Laya.Geolocation.watchPosition(Laya.Handler.create(this, this.updatePosition), Laya.Handler.create(this, this.onError)); 报错如下: TypeError: Cannot set property 'enableHighAccuracy' of undefined 会出现无法找到Laya.Geolocation的各类属性错误,请问该如...
来源: Laya_社区 发布时间: 20181217