기술 자료

Unity Engine

Unity Engine

isInitialized

Returns whether the animator is initialized successfully.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.AnimationModule
public bool isInitialized { get; }

Remarks

See Animator.Rebind to manually initialize the animator.

Examples

using UnityEngine;public class CheckAndRebind : MonoBehaviour{ Animator animator; void Start() { animator = GetComponent<Animator>(); if (!animator.isInitialized) animator.Rebind(); }}