/// <summary> /// Adds convenience methods to determine the current Animator state as boolean methods to the class code /// element (e.g. IsIdle ()). NOTE that this method relies on classes from namespace UnityEditorInternal /// which can be subject to changes in future releases. /// </summary> void ProcessAnimatorStates() { InternalAPIAccess.ProcessAllAnimatorStates(animator, ProcessAnimatorState); }