예제 #1
0
    void ChangeAnimation()
    {
        if (ANIMATOR == null)
        {
            Debug.LogError(SelfObject.name + " 에게 Animator가 없습니다.");
            return;
        }

        ANIMATOR.SetInteger("State", (int)CurrentAIState);
    }
예제 #2
0
 void ChangeAnimation()
 {
     if (ANIMATOR == null)
     {
         Debug.LogError(gameObject.name + " 에게 Animator가 없습니다.");
         return;
     }
     //은기 에니메이션 상태 확인 로그 추가
     //Debug.Log("현재 애니메이션 상태는"+CurrentState + " 입니다.");
     ANIMATOR.SetInteger("State", (int)CurrentState);
     //	Debug.Log(CurrentState);
 }