Summary
[Editor-Only]
Returns true if the `initial` mode was UnityEngine.AnimatorUpdateMode.AnimatePhysics
and the `current`
has changed to another mode or if the `initial` mode was something else and the `current` has changed to
UnityEngine.AnimatorUpdateMode.AnimatePhysics
.
Syntax
public static bool HasChangedToOrFromAnimatePhysics(Nullable<AnimatorUpdateMode> initial, AnimatorUpdateMode current)
Parameters
Name |
Type |
Description |
initial |
Nullable<AnimatorUpdateMode> |
|
current |
AnimatorUpdateMode |
|
Return Value