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

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

21. Animation的complete事件发出是时机不够准确 [ 95%]

Animation的complete事件发出是时机不够准确 2016-07-14 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 topwcd 赞同来自:          protected function _frameLoop():void { if (_style.visible &&...

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

22. LayaAir IDE 1.4.0新增功能 附加(扩展)脚本的使用 [ 95%]

...game.Btn) G、写类逻辑,实现按钮缩放控制(主类下需要对Animation用到的图集进行一次预加载,预加载完成后开始显示ExpandPage界面)package game { import laya.display.Sprite; import laya.events.Event; public class Btn { private var _owner:Sprite; private var _isS...

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

23. 高级应用-寻路导航 [ 94%]

...")); this.layaMonkey.transform.localScale = new Laya.Vector3(5, 5, 5); var animator = (this.layaMonkey.getChildAt(0)).getComponentByType(Laya.Animator); var totalAnimationClip = animator.getClip("Take_001"); animator.addClip(totalAnimationClip, "walk", 40, 70); animator.play("walk", 2.5); //初始...

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

24. Animation如何获取图集单帧实际宽高 [ 94%]

Animation如何获取图集单帧实际宽高 单帧都是500x400,人物脚在图片中心 加载完图集后的Animation怎么获得400x500的宽高 另外Animation的getBounds()返回的数据浏览器和手机里是不一样的,咋回事? 手机: 网页: 代码: ani.loadAtlas("res/at...

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

25. 用Loader加载完atlas,然后使用animation播放问题 [ 94%]

用Loader加载完atlas,然后使用animation播放问题 this._load = new Laya.Loader() this._load.on(Laya.Event.ERROR, this, this.onError); this._load.on(Laya.Event.COMPLETE, this, this.loadComplete); this._load.load(this._data.url, Laya.Loader.ATLAS, true); 加载完成后 this._ani = new Animat...

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

26. laya.d3.component.animator.AnimatorController_API3.0 [ 94%]

...cted All Inherited Externals Only exported Menu Globals "laya/d3/component/Animator/AnimatorController" AnimatorController Class AnimatorController Hierarchy Resource AnimatorController Index Constructors constructor Properties _id clipsID data destroyedImmediately lock name url uuid DEBUG Accessors...

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

27. laya.d3.component.Animator [ 94%]

...I DocumentationAll Packages | All Classes | Index | Frames No Frames AnimatorProperties | Methods | Events Packagelaya.d3.componentClasspublic class AnimatorInheritanceAnimator Component3D EventDispatcher ObjectImplements laya.resource.IDestroy Animator 类用于创建动画组件。 Public...

来源: laya_api 发布时间: 20170929

28. 代码2.0.2版本Laya.Animator发现play方法的存在BUG [ 94%]

代码2.0.2版本Laya.Animator发现play方法的存在BUG 2.0.2版本Laya.Animator。 加载完模型和动画后。 调用play("动作") 发现还是播放的默认动作,查了查引擎代码。 发现在调用play("动作")后边,Laya.Animator又执行了一次_onEnable方法。 BUG就是...

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

29. [LayaAir3]laya3.0.9,使用Animation播放序列帧动画,引用计数问题 [ 94%]

[LayaAir3]laya3.0.9,使用Animation播放序列帧动画,引用计数问题 版本库3.0.9 当创建一个animation,loadAtlas后,AtlasResource的_referenceCount是0,对应的Texture2D的_referenceCount是AtlasResource中使用的次数,当animation执行destyoy后,AtlasResource和Text...

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

30. unity导入的animator动画事件_eventScript没有触发 [ 93%]

unity导入的animator动画事件_eventScript没有触发 两个Fire与Reload动画均有_eventScript事件 Fire有一个监听事件:OpenFire 正常触发 Reload有四个监听事件:SetIsReload(1)、PlaySound(1)、SetIsReload(2)、PlaySound(2) 在Fire没有播放完毕时,播放Reload,Re...

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