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

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

321. 资源加载(ActionScript-3D基础(AS3)-LayaAir3D之资源加载) [ 53%]

...ator.getControllerLayer(0).addState(state1); //播放动作 pangziAnimator.play("hello"); })); })); ``` ![](img/6.gif)(图6) ### 批量预加载资源 ​ 上面的例子Scene.load()方法是资源的异步加载,有时候3D的资源比较大,需要预加载来来提升首屏的体验。这时...

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

322. Tween缓动在移动端效果的问题 [ 53%]

...ation:0}, 1500).to(btn2, {rotation:-5}, 1500).to(btn2, {rotation:0}, 1500).play(0, true); 2018-05-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 7 个回复 Laya_Aaron 赞同来自: 提供一个可运行demo看一下 2018-...

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

323. laya.d3.core.particleshuriken.ShurikenParticleInstanceSystem_API3.0 [ 53%]

...eedConstantMin dragType duration gravityModifier isPerformanceMode looping playOnAwake prewarm randomSeed randomizeRotationDirection scaleMode simulationSpace simulationSpeed startColorConstant startColorConstantMax startColorConstantMin startColorType startDelay startDelayMax startDelayMin startDel...

来源: Laya3.0_api 发布时间: 20231115

324. TimeLine.addLabel(label:String, offset:Number):TimeLine 亲测! 方法中第二个参数offset无效 [ 53%]

...00,null,0); timeLine.addLabel("3",delay).to(sp,{y:0},500,null,0); timeLine.play(0,true); } } new GameMain();​ 附件 : --> Timeline.rar 2017-04-10 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cuixueying 赞同...

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

325. 提示资源重复加载 [ 53%]

...2],"swimpoolani"); Laya.stage.addChild(this.swimpoolani); this.swimpoolani.play(0,true,"swimpoolani"); this.swimpoolani.interval = 500;         }     onEnable(): void { }  onDisable(): void { } }       esources already exist,is repeated loading: D:/reserch/H5/Petfriend/code/Petfriend%2...

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

326. List组件拖动浏览时item会出现重叠的现象 [ 52%]

...题 刚打开 桌面调试出现报错Uncaught (in promise) DOMException: play() 在List渲染的时候,在滚动一个list的时候,如何实现另一个list也跟着滚动,并且两个list同时滚动一模一样。 通过laya嵌入iframe 后 原本laya禁止微信浏览器里面的上下滑...

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

327. 要做一个方形倒计时,请问该怎么实现,不知道该怎么做 [ 52%]

...自: laya123 package huamao.layer.ui { import app.TheGame; import laya.display.Sprite; import laya.maths.Rectangle; public class CdSprite extends Sprite { public static const START:int = -90; public static const COLOR:String = "#000000"; private var r:Number = BarCell.WID / Math.SQRT2; private var r...

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

328. spine动画,微信模拟器正常,真机动画图片颠倒!!!引擎大bug!!! [ 52%]

...o.pos(200, 0); //切换动画皮肤 hero.showSkinByIndex(0); //播放 hero.play(0, true); this.img_sample.addChild(hero); this.sk_hero = hero; Laya.timer.once(200, this, () => { hero.on(Laya.Event.CLICK, this, this.onHeroClick); let bbox = hero.getSelfBounds(); hero.hitArea = bbox; }); } 附件 :...

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

329. 微信小游戏运行导出项目的时候报错:Scene: the .lh file root type must be Scene [ 52%]

...or:Laya.Animator = tiger.getComponentByIndex(0) as Laya.Animator; animator.play("idle"); var cat:Laya.Sprite3D = this._scene.getChildByName("cat_Idle") as Laya.Sprite3D; var catAnimator:Laya.Animator = cat.getComponentByIndex(0) as Laya.Animator; catAnimator.play("Idle"...

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

330. 按官网上的文档 使用LayaNative运行LayaAir项目https://ldc.layabox.com/doc/?nav=zh-as-7-0-1。出现了问题 [ 52%]

...题 刚打开 桌面调试出现报错Uncaught (in promise) DOMException: play() 问题状态 最新活动: 2018-05-30 16:54 浏览: 1421 关注: 2 人 Mr.余 • 2018-05-31 18:01 用LayaAir3D转换工具,版本1.7.16beta。导出场景,使用LayaAirRun ,打开连接报错,连接不上是咋...

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