animationDone()

private void animationDone(){
      if(currentlyRunning == null && animationOnly != null){
        animator.SetBool(animationOnly, false);
        if(health == 0){
          setAdditionalParameters();
          dieThisWay(animationOnly);
        }
        animationOnly = null;
      }
    }


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *