Skip to content

Commit

Permalink
Fixed issue where xenos disappeared between animations.
Browse files Browse the repository at this point in the history
  • Loading branch information
BlairCannon97 committed Sep 11, 2023
1 parent b08c090 commit 280bf1c
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,37 +27,30 @@ public void create() {
}

void animateRun() {
animator.stopAnimation();
animator.startAnimation("xeno_run");
}

void animateHurt() {
animator.stopAnimation();
animator.startAnimation("xeno_hurt");
}

void animateShoot() {
animator.stopAnimation();
animator.startAnimation("xeno_shoot");
}

void animateMelee1() {
animator.stopAnimation();
animator.startAnimation("xeno_melee_1");
}

void animateMelee2() {
animator.stopAnimation();
animator.startAnimation("xeno_melee_2");
}

void animateDie() {
animator.stopAnimation();
animator.startAnimation("xeno_die");
}

void stopAnimation() {
animator.stopAnimation();
animator.startAnimation("default");
}
}

0 comments on commit 280bf1c

Please sign in to comment.