runLegMovement()

Found in:

private IEnumerator runLegMovement(){
    foreach (Transform child in transform){
      if (child.gameObject.name == "PopOffSpot") continue;
      currentlyAnimating = true;
      
      if(child.gameObject.name != "bossHead"){
        yield return new WaitForSeconds(.05f);
        child.gameObject.GetComponent().SetBool("Working" ,true);
        child.gameObject.GetComponent().playAnimation();
      }
    }
    currentlyAnimating = false;
  }


Comments

Leave a Reply

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