AnimancerGraphCleanup.

HasChangedToOrFromAnimatePhysics(Nullable<AnimatorUpdateMode>, AnimatorUpdateMode) Method

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.
Assembly
Animancer.dll
Namespace
Animancer.Editor
Containing Type
AnimancerGraphCleanup

Syntax

public static bool HasChangedToOrFromAnimatePhysics(Nullable<AnimatorUpdateMode> initial, AnimatorUpdateMode current)

Parameters

Name Type Description
initial Nullable<AnimatorUpdateMode>
current AnimatorUpdateMode

Return Value

Type Description
bool