ドキュメント

Unity Engine

Unity Engine

isInitialized

Returns whether the animator is initialized successfully.
読み終わるまでの所要時間 1 分最終更新 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(); }}