大约有 2,657 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0112 秒)
...tected All Inherited Externals Only exported Menu Globals "laya/components/Animator2D" Animator2D Class Animator2D Animator2D2D动画组件 Hierarchy Component Animator2D Index Constructors constructor Properties _extra _singleton owner runInEditor scriptPath Accessors awaked controller destroyed en...
来源: Laya3.0_api 发布时间: 20231115
...cted All Inherited Externals Only exported Menu Globals "laya/d3/component/Animator" Animator Class Animator Animator 类用于创建动画组件。 Hierarchy Component Animator Index Constructors constructor Properties _extra _singleton cullingMode owner runInEditor scriptPath CULLINGMODE_ALWAYSANI...
来源: Laya3.0_api 发布时间: 20231102
animation在loadATL的回调中,animation.width=0,为什么为0?我想拿到宽度怎么做 animation在loadATL的回调中,animation.width=0,为什么为0?我想拿到宽度怎么做?getBounds也为0 2018-01-31 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关...
来源: Laya_社区 发布时间: 20180131
animate 动画播放 怎么把攻击 开火 合起来播放 // 程序入口 class GameMain { private roleAni: Laya.Animation; private timeLine:Laya.TimeLine = new Laya.TimeLine(); constructor() { //初始化舞台 Laya.init(1334, 750, Laya.WebGL); //创建动画实例 this.roleAni = new Laya.Animat...
来源: Laya_社区 发布时间: 20171228
Animation设置pivot导致动画模糊问题 您好,发现一个问题,Animation设置pivot为非整数时,动画会明显变模糊,如: this.animation.pivot(this.animation.getBounds().width / 2,this.animation.getBounds().height / 2); 如果this.animation.getBounds().width / 2为非整数...
来源: Laya_社区 发布时间: 20170207
新版unity导出工具如何导出animator? 我在unity新建一个空gameObject,然后下面挂了一个animator,在把我想转换的anim文件拖到gameObject下,最后导出这个gameObject,只导出了一个lav格式的文件,没有得到 lani格式的文件。导出工具版本是1...
来源: Laya_社区 发布时间: 20170704
animation动画对象 无法增加鼠标事件 animation对象 在鼠标按下的时候,不会进入监听onDrag方法,把animation对象换成其他的sprit对象 就能正常 。 部分代码如下,动画能正常播放。 this.role = new Laya.Animation(); this.role.on(Laya.Event.MOUSE_DOWN...
来源: Laya_社区 发布时间: 20180718
如何使用animator把动画播放到指定帧然后立刻暂停? 在unity里使用我这样用可以达到效果 animator.Play("idle", 0, 0.5f); animator.speed = 0f;但是这样的代码在Laya里面好像并没有效果。 但是如果把speed设置的很小就可以。好像是只有_update...
来源: Laya_社区 发布时间: 20190924
animation图片集路径的问题 如果 animation加载的路径中有空格、{}、这些字符 会被转义 调用的时候加载不出来?怎么解决 ?或者Animation.loadImages方法的url路径规范是什么?demo里面凤凰的例子能否给源码让看看路径是什么格式 附件...
来源: Laya_社区 发布时间: 20160822
Animator动画事件报错 Animator在动画片段开始地方添加动画事件,用一个没有事件的动画(必须没有事件)过度(crossFade)到这个动画时会报错。_eventScript里面报错,检查下来好像是过度动画事件索引用到了没有事件的动画里面导...
来源: Laya_社区 发布时间: 20211103