if (Animator.parameterCount > 0) { Debug.Log("Animator has parameters"); } else { Debug.Log("Animator has no parameters"); }