Version: 2017.1

Animator.isInitialized

Switch to Manual
public bool isInitialized ;

Description

Returns whether the animator is initialized successfully.

See Animator.Rebind to manually initialize the animator.

using UnityEngine;

public class CheckAndRebind : MonoBehaviour { Animator animator;

void Start() { animator = GetComponent<Animator>();

if (!animator.isInitialized) animator.Rebind(); } }