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

大约有 1,492 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0047 秒)

1341. 内存释放问题 [ 46%]

...oid { let obj: Object = ResUIModuleManager.poolModulResDic.get(className); if (!obj || !obj["resNames"]) return; let moduleNames: string[] = obj["resNames"]; let muduleName: string; let path: string; for (let i = 0, len = moduleNames.length; i < len; i++) { muduleName = moduleNames[i]; let curMem...

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

1342. 关于WebGL矢量图的遮罩问题 [ 46%]

...罩会显示错误 //关闭WebGL, 遮罩会显示正确 let isWebGL = true if (isWebGL) { Laya.init(1024, 1024, Laya.WebGL); } else{ Laya.init(1024, 1024); } //等待可调试 Laya.timer.once(1000, null, ()=>{ let mask = new Laya.Sprite() let sprite = new Laya.Sprite() sprite.mask = mask Laya.sta...

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

1343. UI弹窗 · LayaAir3.0文档 · LAYABOX [ 46%]

...IDTH + "," + this.DIALOG_HEIGHT; this.dialog.show(); } onDestroy(): void { if (this.dialog) { this.dialog.close(); } } } Copyright ©Layabox 2022 all right reserved,powered by LayaAir Engine更新时间: 2023-03-03 17:33:52 img{cursor:pointer}

来源: Laya3.0_文档 发布时间: 20230303

1344. 可以帮我测试一下吗? 使用mask的场景,放着就会出现记忆体用完的讯息? [ 46%]

...ion : 0 }; Laya.timer.frameLoop(1,this,()=> { this.infos.rotation += 1; if (this.infos.rotation >= 360) this.infos.rotation -= 360; this.IM_TURNTABLE.rotation = this.infos.rotation; this.VIEW_TURNTABLE.rotation = this.infos.rotation; }); } } 附件 : --> testMask.zip 2018-07-20 添加评论 ...

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

1345. 全局安装layaair2-cmd报错怎么办啊 [ 46%]

...e detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js. npm ERR! code 1 npm ERR! path /usr/local/lib/node_modules/layaair2-cmd/node_modules/mozjpeg npm ERR! command failed npm ERR! comman...

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

1346. laya3D 发部为android,只要一创建场景(包括空场景)就有如下报错,并且黑屏 [ 46%]

...ene.load('res/models/scene1.ls'); this.scene = Laya.stage.addChild(scene); if(!scene) return; var camera = this.scene.addChild(new Laya.Camera(0, 0.01, 1000)); camera.transform.translate(new Laya.Vector3(0, consts.CAMERA_HEI, 0)); camera.transform.rotate(new Laya.Vector3(-45, 0, 0), true, false); ca...

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

1347. layaFlash 无法使用 Loader 加载外部SWF和图片 [ 46%]

...ic class SwfBinary extends Sprite { public function SwfBinary() { super(); if(stage) { init(); } else { this.addEventListener(Event.ADDED_TO_STAGE,init); } } private function init(e:Event=null):void { var loader:Loader=new Loader(); var context:LoaderContext=new LoaderContext(false,ApplicationDomain...

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

1348. 通过AnimatorState为Animator添加多个播放状态islooping属性会被覆盖 [ 46%]

...tate.clip.islooping = false; // state.addScript(Laya.AnimatorStateScript); if (arrString[3] == "true") state.clip.islooping = true; this.ani.addState(state); // this.ani.play(arrString[2]); } }  /**播放动画 */ public playAni(aniName: PERSON_ANI, islooping: boolean = true): void { console.log("...

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

1349. 救命啊,遇到苹果爸爸 Guideline 2.5.2 [ 46%]

...reement.   This code, combined with a remote resource, can facilitate significant changes to your app’s behavior compared to when it was initially reviewed for the App Store. While you may not be using this functionality currently, it has the potential to load private frameworks, private methods,...

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

1350. canvas下资源清理的问题 [ 46%]

...     private function hide():void         {             if(taskView)             {                 taskView.destroy();                 taskView = null;                 Laya.loader.clearTextureRes("res/atlas/task.atlas");         ...

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