如图,dock是一个空gameObject,其下包含mouth_dn,mouth_up (应该叫lip_dn,lip_up更合适,这不是重点,先不改了),head,eye_left,eye_right等组成部分。 

unity5, 在unity中编辑动画

选中dock,然后打开animation窗口(菜单->Window->Animation)。新建一个clip命名为speak,然后在其下点Add Property,可以看到能对dock下的所有组件编辑动画,这里我们对eye_left,eye_right,mouth_dn,mouth_up这四个子节点编辑动画以实现speak这个动画。

unity5, 在unity中编辑动画

编辑好后运行程序,就可以看到dock的动画了:

unity5, 在unity中编辑动画 unity5, 在unity中编辑动画

 

----补充:(2015-6-10)

Animation窗口有两种编辑模式,一是Dope Sheet,一是Curves,如下两图所示:

unity5, 在unity中编辑动画

unity5, 在unity中编辑动画

两种模式下都可以 通过鼠标滚轮缩放视图,通过按住鼠标中键并拖动平移视图。

相关文章:

  • 2022-01-03
  • 2021-09-16
  • 2021-09-11
  • 2022-12-23
  • 2021-06-27
  • 2022-12-23
  • 2021-08-03
  • 2022-12-23
猜你喜欢
  • 2021-08-20
  • 2022-12-23
  • 2021-06-27
  • 2021-10-10
  • 2021-09-18
  • 2022-12-23
  • 2021-06-22
相关资源
相似解决方案