Exemplo n.º 1
0
 // Update is called once per frame
 void Update()
 {
     if (anim.GetCurrentAnimatorStateInfo(0).normalizedTime > 1 && !anim.IsInTransition(0))
     {
         //  CombatManager.CombatSetUp();
         CombatManager.CombatSetUpFinal();
         gameObject.SetActive(false);
     }
 }