Version: 2021.2
언어: 한국어
public bool isInitialized ;

설명

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(); } }