Esempio n. 1
0
 // OnStateEnter is called when a transition starts and the state machine starts to evaluate this state
 override public void OnStateEnter(Animator animator, AnimatorStateInfo stateInfo, int layerIndex)
 {
     if (m_SpineManager == null)
     {
         m_SpineManager = animator.gameObject.transform.parent.GetComponent <SpineManager>();
     }
     //애니메이션이 끝나면 체크
 }
Esempio n. 2
0
    // Start is called before the first frame update

    private void Start()
    {
        m_Spine = transform.parent.GetComponent <SpineManager>();
    }