大约有 2,741 项符合查询结果, 库内数据总量为 31,629 项。 (搜索耗时: 0.0056 秒)
Laya_社区(1926) Laya3.0_api(248) Laya2.0_api(162) laya_api(132) Laya_示例(81) Laya2.0_文档(81) Laya2.0_示例(65) Laya3.0_文档(46)
...eightMap.png", clas: Laya.Texture2D, priority: 1, params: [true] } ], null, processHandler); qq1981150053 • 2017-08-17 14:44 好的,成功了,谢谢 sfsmmc • 2017-08-14 15:06 这里说的地形文件不是unity中的地形。只是一个用3DMax制作的一个地形模型。不是untiy...
来源: Laya_社区 发布时间: 20170505
...nction garbageCollection():void { _scene.destroy();//销毁场景 _scene = null; Resource.destroyUnusedResources();//销毁无用资源(没有被场景树引用,并且没有加资源锁的) } /** * @private 加载场景,并且将该场景添加到stage上 */ public function loadScene():void { Scen...
来源: Laya2.0_文档 发布时间: 20210715
...ddChild(logger); } /**侦听处理方法*/ private function onDown(e:Event=null):void { logger.text += "点击 - " + e.target.name + "\n"; } } }
来源: Laya2.0_示例 发布时间: 20251223
...bageCollection():void { this._scene.destroy();//销毁场景 this._scene = null; Laya.Resource.destroyUnusedResources();//销毁无用资源(没有被场景树引用,并且没有加资源锁的) } /** * @private 加载场景,并且将该场景添加到stage上 */ public loadScene():void { Laya.Sce...
来源: Laya2.0_文档 发布时间: 20210715
... Parameters Optional type: string (可选)事件类型,如果值为 null,则移除本对象所有类型的侦听器。 Returns EventDispatcher 此 EventDispatcher 对象。 offAllCaller offAllCaller(caller: any): EventDispatcher Inherited from EventDispatcher.offAllCaller Defined in laya/eve...
来源: Laya3.0_api 发布时间: 20231115
...en(() => { this.onLoadComplete(); }); } private onLoadComplete(e: any = null): void { for (let i: number = 0; i < this.skins.length; ++i) { let rg: Laya.RadioGroup = this.createRadioGroup(this.skins[i]); rg.selectedIndex = i; rg.x = i * this.SPACING + this.X_OFFSET; rg.y = this.Y_OFFSET; } } p...
来源: Laya3.0_文档 发布时间: 20251016
...{ r: channels[0], g: channels[1], b: channels[2] }, this.gradientInterval, null, Handler.create(this, this.onTweenComplete)); } private getColorChannals(color: number): Array { var result: Array = []; result.push(color >> 16); result.push(color >> 8 & 0xFF); result.push(color & 0xFF); return result;...
来源: Laya_示例 发布时间: 20251223
...{ r: channels[0], g: channels[1], b: channels[2] }, this.gradientInterval, null, Handler.create(this, this.onTweenComplete)); } private getColorChannals(color: number): Array { var result: Array = []; result.push(color >> 16); result.push(color >> 8 & 0xFF); result.push(color & 0xFF); return result;...
来源: Laya2.0_示例 发布时间: 20251223
...r来加载url Laya.loader.load(url,Laya.Handler.create(this,showImg,[url]),null,Laya.Loader.IMAGE); } function errorHandler(url){ var t = new Laya.loader.getRes(url); var ape = new Laya.Sprite(); ape.graphics.drawTexture(t,0,0); Laya.stage.addChild(ape); ape.pos(200,0); } ``` 第三种我们直接...
来源: Laya2.0_文档 发布时间: 20210715
...fecycle jpeg-recompress-bin@4.0.0~postinstall: Returned: code: 0 signal: null 31922 silly postinstall download@6.2.5 31923 info lifecycle download@6.2.5~postinstall: download@6.2.5 31924 silly postinstall bin-build@3.0.0 31925 info lifecycle bin-build@3.0.0~postinstall: bin-build@3.0.0 31926 silly...
来源: Laya_社区 发布时间: 20200211