Interruption Source 的意义

Animator 控制器里

Interruption Source 的意义

Interrupt Source Allows you to control the circumstances under which this transition may be interrupted.
  None The transition will not be interruptible.
  Current State The transition can be interrupted by other transitions within the current state, but not within the destination state.
  Next State The transition can be interrupted by transitions defined in target (next) state, but not within the current state.
  Current State then Next State The transition can be interrupted by transitions on either the current or the next. However, if a transition becomes true in both current and next at the same time, the current state will take priority.
  Next State then Current State The transition can be interrupted by transitions on either the current or the next. However, if a transition becomes true in both current and next at the same time, the next state will take priority.
 Ordered Interruption Determines whether the current transition can be interrupted by other transitions independently of their order.
Curre

这些看不懂,经过测试,只发现NextState能看出效果,如下:
这几个选项都表示可以被打断
下方的 Ordered Interruption 单选框为勾选状态,这个选项意味着最上面的优先级最高,如果有好几个动画通道的话。如果不勾选,那么任何动画都可以直接打断。

Current State State 选中这个表示过度到当前的动画允许被打断.
Next State 表示打断的是去下一个过度状态(转入的状态) ,动作会当前动画位置到下一个
Current State then Next State 和 Next State then Current State 也是表示哪个打断的权限更高,前者表示先看当前State的优先级如果没有被触发,再看下一个State的优先级,后者则相反,来达到不同的融合与打断效果。

后面有时间再详细研究下.

你可能感兴趣的:(Unity)