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

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

761. 我看到这段话后,我 [ 70%]

...戏后没有显示,怎么解决 sprite设置了cacheas,removechild再addchild之后原先设置的cacheas无效,通过监测面板可以看到。请问这是不是bug? Laya中Panel控件在设计模式下,添加字内容界面。可以操作出拖动效果吗?就像可以在设计模式...

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

762. Laya2.1 加载spine动画会随机出现抖动 [ 70%]

...下 //加载spine动画 this.skeleton = new Laya.Skeleton ();  Laya.stage.addChild(this.skeleton);  this.skeleton.pos(parseInt (npcPos[0]), parseInt (npcPos[1]));  this.skeleton.load (this.curNpcInfo.npcPath); 附件 : --> 70003.zip 2019-05-16 添加评论 免费帖 --> 分享 微博 QZONE 微信...

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

763. Spine适配版(ActionScript-LayaAir基础篇(AS3)-动画基础) [ 70%]

...omplete(): void { this.skeleton = this.templet.buildArmature(); Laya.stage.addChild(this.skeleton); this.skeleton.pos(Browser.width / 2, Browser.height / 2 + 100); this.skeleton.scale(0.5, 0.5); this.skeleton.on(Event.STOPPED, this, this.play) this.play(); } private function onError(): void{ trace("...

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

764. 请问LayaAirUnityPlugin 1.1.0.unitypackage导出的.lsani文件怎么使用? [ 70%]

... mesh = Sprite3D.load('resources/shuipao.lh');             this.addChild(mesh);             mesh.on(Event.HIERARCHY_LOADED, this, this.OnHierarchyLoaded);                          let ani_names = this.ani_names;             let anies = this.anie...

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

765. ScrollRect设置会引起其他的UI资源无法正在显示 [ 70%]

... function TestView() { super(); _path.pivot(0,0); _path.pos(a.x,a.y); this.addChild(_path); _path.rotation = Math.atan2(b.y - a.y, b.x - a.x) / Math.PI * 180; var len:int = Math.floor(GetPathLen()/PATH_LEN)+2; var p:Image; for(var i:int = 0;i<len;i++){ p = new Image("test/footprint.png"); p.pos(i...

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

766. 材质-物理基础渲染材质 [ 70%]

...Laya.Stage.SCREEN_NONE; var Vector3 = Laya.Vector3; var scene = Laya.stage.addChild(new Laya.Scene()); //var env:String = 'inthegarden'; var env = 'sp_default'; //var env = 'AtticRoom'; //var env = 'overcloud'; var envinfo = '../../res/threeDimen/env/' + env + '/envinfo.json'; Laya.loader.load(envin...

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

767. "img.viewport is not a function" [ 70%]

...is.preinitialize is not a function 官方视频教程中飞机大战 "this.addChild is not a function" 微信开发者工具iOS模拟器报错:CharRender_Canvas.ctx.fillAndStrokeText is not a function 问题状态 最新活动: 2017-04-28 19:22 浏览: 1048 关注: 2 人

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

768. new Laya.Templet() 时,说这不是一个constructor [ 69%]

...ew Animation(); this.aniFighter.loadAtlas(this.strAniConfPath); Laya.stage.addChild(this.aniFighter); this.aniFighter.interval = 100;//30;//设置播放间隔30毫秒 this.aniFighter.index = 1;//当前播放索引 this.aniFighter.play();//播放图集动画 this.aniFighter.loop = false; //获取动...

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

769. 如何获得box单独每个面的material [ 69%]

...oxWidth, ConstValue.boxWidth, ConstValue.boxHeight); var box = this.parent.addChild(new Laya.MeshSprite3D(mesh)); box.transform.rotate(new Laya.Vector3(0, 45, 0), false, false); box.transform.position = new Laya.Vector3(ConstValue.boxOutScreen,ConstValue.boxHeight/2,0); var material = new Laya.Stand...

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

770. ReferenceError: Loader is not defined 搞不懂引擎原生的也会报这个错? [ 69%]

... let partIns = new Laya.Particle2D(settings);         Laya.stage.addChild(partIns);         // 开始发射粒子         partIns.emitter.start();         // 播放         partIns.play();          partIns.x = Laya.stage.width / 2;          ...

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