大约有 1,492 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0047 秒)
...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
...罩会显示错误 //关闭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
...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
...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
...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
...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
...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
...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
...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
... private function hide():void { if(taskView) { taskView.destroy(); taskView = null; Laya.loader.clearTextureRes("res/atlas/task.atlas"); ...
来源: Laya_社区 发布时间: 20180425