This version of Unity is unsupported.

AnimatorController.GetBehaviours

public T[] GetBehaviours();

Description

Returns all StateMachineBehaviour that match type T or are derived from T.