• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 2,789 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0072 秒)

2731. Timer Handler被覆盖 [ 40%]

...r:any,method:Function,args?:any[],coverBefore?:boolean,jumpFrame?:boolean):void;这个函数开启一个游戏主循环,这是如果caller.$_GID是1,method.$_TID是500000,那么this._map会存入一个500001的一个key进入,随着游戏玩的时间越来越长功能也越多的情况下,...

来源: Laya_社区 发布时间: 20210701

2732. 用Unity插件导出的模型渲染报错 [ 40%]

...h", Laya.Handler.create(this, this.OnComplete)); private OnComplete():void { let sprite:Laya.Sprite3D = Laya.loader.getRes("model/role/1/model.lh"); this._scene.addChild(sprite); } 155*****924 • 2019-05-16 15:16 这样写应该没问题吧? 155*****924 • 2019-05-16 15:18 Utils3D...

来源: Laya_社区 发布时间: 20190516

2733. 其他引擎的Demo-Example_23 [ 39%]

...G.jpg"); Laya.stage.frameLoop(1, this, this.animate); } private animate(): void { if (this.tick > this.frequency) { this.tick = 0; // iterate through the dudes and update the positions var laser: Laser = new Laser(); laser.loadImage("../../res/pixi/laser0" + ((this.type % 5) + 1) + ".png"); this.typ...

来源: Laya_示例 发布时间: 20260303

2734. Animation 的createFrames 使用已经加载的图集缓存动画失败 [ 39%]

...reateAnimation), null, Loader.ATLAS); } private function createAnimation():void { var url:Array=; for(var i:int=1;i<30;i++) { if(i<10) { url.push("res/fighter/fighter/rollSequence000"+i+".png"); } else { url.push("res/fighter/fighter/rollSequence00"+i+".png"); } } Animation.createFrames(url,"m...

来源: Laya_社区 发布时间: 20160610

2735. CheckBox属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 39%]

...this.skin2],Laya.Handler.create(this,this.onLoaded)); } private onLoaded():void{ //创建一个CheckBox实例cb1 var cb1:Laya.CheckBox = new Laya.CheckBox(this.skin1); //添加到舞台上显示 Laya.stage.addChild(cb1); //设置checkbox的坐标位置 cb1.pos(300,200); //文本标签内容 cb1.labe...

来源: Laya2.0_文档 发布时间: 20210715

2736. 其他引擎的Demo-Example_23 [ 39%]

...G.jpg"); Laya.stage.frameLoop(1, this, this.animate); } private animate(): void { if (this.tick > this.frequency) { this.tick = 0; // iterate through the dudes and update the positions var laser: Laser = new Laser(); laser.loadImage("res/pixi/laser0" + ((this.type % 5) + 1) + ".png"); this.type++; l...

来源: Laya2.0_示例 发布时间: 20260303

2737. zip更新模式缓存是怎么读取的?? [ 39%]

...候还是会下载 * 'unknownError' * @param {function(localfile:string):void} onEnd 更新完成的回调 */ window['updateByZip'] =function(url, onEvent, onEnd){ let cachePath = conch.getCachePath(); let localfile = cachePath+url.substr(url.lastIndexOf('/')); /** * 下载文件,保存到localfil...

来源: Laya_社区 发布时间: 20180108

2738. 发布原生 ios/android 的渲染问 题 [ 39%]

...也 确实进行了相关的操作  private onTexLoad(tex:Laya.Texture2D):void { // let oldTex = this.material.getTexture(); this.material.setTexture(tex); this.plane.active = true; // if(oldTex) // { // MeshPool.destoryRes(oldTex["keyUrl"],oldTex); // }  }我所注视的就是上面在laya.3d.js ...

来源: Laya_社区 发布时间: 20190612

2739. TS setExternalLinkEx問題 [ 38%]

...en"); //conch.setExternalLink('http://www.baidu.com'); } } } render():void{ this.ctx.fillStyle='#99d9ea'; this.ctx.fillRect(0,0,window.innerWidth,window.innerHeight); window.requestAnimationFrame(this.render); } } } new Webview.GameMain(); Laya_Aaron • 2018-05-28 14:40 我就是用的你的...

来源: Laya_社区 发布时间: 20180525

2740. CheckBox属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 38%]

...in1,skin2], Handler.create(this, onLoaded)); } private function onLoaded():void { //创建一个CheckBox实例cb1 var cb1:CheckBox = new CheckBox(skin1); //添加到舞台上显示 Laya.stage.addChild(cb1); //设置checkbox的坐标位置 cb1.pos(300,200); //文本标签内容 cb1.label="我是多...

来源: Laya2.0_文档 发布时间: 20210714